The initialization parameter OPEN_CURSORS in INITSID.ORA determines the maximum number of cursors per user. Check the parameter specified by executing the following SQL: select * from v$parameter where name = 'open_cursors' / If you want more
作者:eygle | English Version 【轉載時請以超連結形式標明文章出處和作者資訊及本聲明】連結:http://www.eygle.com/archives/2011/12/oracle_linux_rm_rf.html 前幾天提到的一則誤刪除案例:http://www.eygle.com/archives/2011/12/oracle_lsof_recovery_database.htmlKamus
oracle巢狀表格樣本----巢狀表格:就是把一個表中的欄位定義為一個表,這個欄位表的資料存放區在外部的一個表中, 例如下例巢狀表格中的資料存放區在required_tab表中。----巢狀表格可以有效地代替多個表之間的串連create type bookobj as object(title varchar2(40),author varchar2(40),catalog_number number(4));/create type booklist as table of
1.串連---內串連select * from dali.test1 a, dali.test2 b where a.a=b.a;---左串連select * from dali.test1 a, dali.test2 b where a.a=b.a(+);---右串連select * from dali.test1 a, dali.test2 b where a.a(+)=b.a;---完全串連select * from dali.test1 a, dali.test2 b where
Oracle資料直接匯出到文字檔的方法.利用Oracle中的Spool緩衝池技術可以實現Oracle資料匯出到文字檔。 1、在Oracle PL/SQL中輸入緩衝開始命令,並指定輸出的檔案名稱: spool d:output.txt2、去掉欄位名 set heading off3、在命令列中隨便輸入你的SQL查詢: select mobile from customer; select mobile from client; ……3、在命令列中輸入緩衝結果命令:
DROP TABLE "TASKITEM";CREATE TABLE "TASKITEM" ("TASKITEMID" NUMBER NOT NULL ENABLE, "MODIFYCOUNT" NUMBER DEFAULT 0, "SYSTEMGROUPID" NUMBER DEFAULT 0 NOT NULL ENABLE, "DESCRIPTION" VARCHAR2(400), "MAKERUSERID" NUMBER DEFAULT 0 NOT
1.將表中的兩個欄位合并成一個顯示:SQL> select id||stu_name as test from student;TEST----------------------2007112810郭曉梅2007112812張大彪2007112813aaa2007112814王大志2007112815易建聯2007112513teacher已選擇7行。2.截取某一欄位的查詢:SQL> select address,substr(address,1,2) from