使用 Sql*Loader 向 Oracle 匯入資料

使用Oracle的sqlldr工具來將SDSS.CSV檔案中的資料匯入資料庫。SDSS.CSV 放置於 E:\ 內容如下:        2.3757291096910399E-4,-8.9490277843631194,20.302597,        0.00023851549291556,-0.88450365314434698,20.098101,        2.5168890447969299E-4,7.7169029946908094E-2,18.762859,       

Oracle 批量插入記錄

這裡使用了PL/SQL的聯合數組.我要將一組用'_'分隔的記錄插入資料庫,當然,這樣做只是為了方便從java調用預存程序進行批量插入. 先定義數群組類型和一個工具函數(用來分解字串):Code highlighting produced by Actipro CodeHighlighter

深刻理解Oracle資料庫的啟動和關閉

     原文:http://www.softhouse.com.cn/news/show/1469.html  Oracle資料庫提供了幾種不同的資料庫啟動和關閉方式,本文將詳細介紹這些啟動和關閉方式之間的區別以及它們各自不同的功能。  一、啟動和關閉Oracle資料庫  對於大多數Oracle DBA來說,啟動和關閉Oracle資料庫最常用的方式就是在命令列方式下的Server Manager。從Oracle 8i以後,系統將Server

利用Oracle VPD(虛擬專用資料庫)實作類別似EBS R12裡的多OU屏蔽

EBS R11通過建立帶有CLIENT_INFO過濾條件的視圖來實現多OU屏蔽,而R12使用的則是VDP(Virtual Private Database)來實現,關聯的package是MO_GLOBAL,ORG_SECURITY。 假設我們想讓員工只能查看到本部門的所有員工資訊:沒有應用VDP之前:select * from scott.emp;---------------------------------------------------------------------------

Oracle Linux 配置 UDEV SCSI Rules 說明

Oracle RAC中ASM 的配置可以有2種方式實現:raw和asmlib。 在實際的維護中,更推薦使用raw。        使用raw又有兩種方法:使用multipath和UDEV。在Redhat 平台下參考:Redhat 5.4 +ASM + RAW+ Oracle 10g RAC 安裝文檔http://blog.csdn.net/tianlesoftware/article/details/5872593 Redhat 5.4Oracle 10g RAC

Oracle 11g ORA-00845: MEMORY_TARGET not supported on this system 說明

 啟動Oracle 11gR2後報錯:ORA-00845 rac1:/home/oracle> sqlplus / as sysdba;SQL*Plus: Release 11.2.0.3.0 Production onTue Feb 14 09:11:41 2012 Copyright (c) 1982, 2011, Oracle.  All rights reserved. Connected to an idle instance. SQL> startupORA-00845:

Oracle 10g/11g 密碼原則 使用者口令 大小寫敏感 說明

 一. Oracle 10g1.1 說明在Oracle 10g下,預設情況下,密碼是不區分大小寫。這個是由於密碼檔案的預設參數有關。 C:\Users\Administrator.DavidDai>orapwdUsage: orapwd file=<fname>entries=<users> force=<y/n> ignorecase=<y/n>nosysdba=<y/n>  where   file - name of

Oracle 彙總函式(Aggregate Functions)說明

 Oracle Aggregate Functions用過很多,官網的說明如下: Aggregate Functionshttp://docs.oracle.com/cd/E11882_01/server.112/e26088/functions003.htm#SQLRF20035 Aggregatefunctions return a single result row based on groups of rows, rather than onsingle rows. Aggregate

Oracle 執行計畫 提示 ‘PLAN_TABLE’ is old version 解決方案

用set autotrace 或者 explain plan for 產生執行計畫時,有如下提示:Note-----   - 'PLAN_TABLE' is old version 導致這個錯誤的原因是曾經使用toad的執行計畫分析過,所以執行了它內建的指令碼產生了plan_table。 解決辦法,drop掉plan_table後重新建立就可以了。SQL> drop table PLAN_TABLE;Table dropped. SQL>

Oracle 用戶端 使用 expdp/impdp 樣本 說明

 一.用戶端使用expdp/impdp說明 有關Oracle expdp/impdp 命令之前也整理了一些文檔,連結如下:exp/imp 與 expdp/impdp 對比 及使用中的一些最佳化事項http://blog.csdn.net/tianlesoftware/article/details/6093973 Oracle 10g Data Pump Expdp/Impdp 詳解http://blog.csdn.net/tianlesoftware/article/details/46742

查看 Oracle 是32位還是64位的方法

 方法一:使用sqlplus64位:[oracle@qs-wg-db2 ~]$ sqlplus / as sysdba; SQL*Plus: Release 10.2.0.5.0 - Productionon Sun Sep 25 08:57:22 2011 Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.  Connected to:Oracle Database 10g Enterprise EditionRelease 10.2

Understanding Bootstrap Of Oracle Database

 In this Document@ Oracle Confidential (INTERNAL). Do notdistribute to customers@ Reason: has internal information@ (AuthWiz 2.5.1) Applies to:Oracle Server – Enterprise Edition –Version:Information in this document applies to any platform.Oracle

Oracle Heap size XXK exceeds notification threshold (2048K) 解決方案

 資料庫版本是10.2.0.1,使用EXPDP 導資料的時候,alert log 出現如下資訊: Wed Oct 26 12:14:02 2011The value (30) of MAXTRANS parameterignored.kupprdp: master process DM00 started withpid=73, OS id=4731        to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_01',

Oracle OEM 配置報錯: No value was set for the parameter DBCONTROL_HTTP_PORT 解決方案

 這幾天經常與OEM 頂上,前幾天剛解決一個OEM問題,今天又遇到了。Oracle 安裝OEM 報錯: 無法對所有EM 相關賬戶解鎖 解決方案http://blog.csdn.net/tianlesoftware/article/details/6816938 原打算安裝一下Oracle 11gR2. 然後升級到11.2..0.3的,結果安裝最後報錯。 EM 搞不定。  準備看一下EM 的狀態,執行命令提示環境變數沒配置:[oracle@singledb ~]$ emctl status

Oracle PL/SQL之WITH查詢

為什麼要用WITH?1. 如果需要在一段複雜查詢裡多次應用同一個查詢,用WITH可實現代碼重用;2. WITH查詢類似將查詢結果保留到使用者暫存資料表裡,在大的複雜查詢中可以減少IO,有一定的效能最佳化作用。 WITH查詢有何限制與特性?1. 如果當前schema下有與WITH查詢別名相同的表,查詢中WITH查詢產生的表優先;2. 只能用於select 語句;3. WITH可包含一個或多個查詢;4.

[INS-20802] Oracle Net Configuration Assistant failed

        [INS-20802] Oracle Net Configuration Assistant failed。在安裝Oracle 11g R2時出現了該錯誤提示。以前安裝的時候沒有碰到過類似的錯誤。原來是64bit和32bit系統相容性的問題。如果基於64bit硬體安裝32bit 的Linux 和32bit的Oracle 11g,則需要安裝patch 8670579。下面給出patch的安裝過程。 一、錯誤提示    [INS-20802] Oracle Net

Oracle 從Dump 檔案裡提取 DDL 語句 方法說明

有關Dump 檔案的命令有exp/imp 和 expdp/impdp。 這四個命令之前都有整理過相關的文章。 ORACLE EXP/IMP 說明http://blog.csdn.net/tianlesoftware/article/details/4718366 exp/imp 與 expdp/impdp 對比 及使用中的一些最佳化事項http://blog.csdn.net/tianlesoftware/article/details/6093973 Oracle expdp/impdp

Oracle 查看 對象 持有鎖的情況

 同事在測試庫上對一個表加欄位,提示 ORA-00054, 資源忙。 應該是表對象的鎖沒有釋放。 用如下SQL 查看一下系統中相關對象上鎖的情況: /* Formatted on 2012/2/13 14:24:32 (QP5 v5.185.11230.41888) */SELECT S.SID SESSION_ID, S.USERNAME, DECODE (LMODE, 0, ' None ', 1, '

Oracle sessions,processes 和 transactions 參數 關係 說明

 一.官網說明1.1 processes11gR2 的文檔: PropertyDescriptionParameter typeIntegerDefault value100ModifiableNoRange of values6 to operating system dependentBasicYesOracle RACMultiple instances can have different values. PROCESSES specifies the maximum

Oracle PLSQL之cursor取得是open時的資料

當我們定義了一個很複雜的cursor,這個cursor需要執行很長時間,在這個cursor執行的過程中,其它使用者又修改了該cursor所引用的表的資料時,cursor得到的是修改前還是修改後的資料呢?答案是cursor得到的始終是cursor在open時的資料,接下來我們將通過一個小實驗來驗證。首先,session1執行以下匿名塊,該匿名塊通過cursor取得t1表的所有資料,不過在open

總頁數: 1509 1 .... 617 618 619 620 621 .... 1509 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.