DB分類文章 顯示方式:簡文 | 列表

2006年10月13日

簡單的trigger的分享

目標:當有一個table填入資料時,在log的table裏記錄變動的時間

...繼續閱讀

Posted by my_work at 樂多Roodo!15:51回應(0)引用(0)

2006年09月27日

SQL/PL 筆記(新手級)

sql/pl的心得分享

剛寫pl,找了不少資料,看來並沒有select出來的table資料直接轉成一個array的函數
所以只好自已寫了 ...繼續閱讀

Posted by my_work at 樂多Roodo!17:29回應(0)引用(0)

2006年09月25日

更改現在的語系

1. alter session nls_territory='TAIWAN';
2. alter session nls_language='TRADITIONAL CHINESE';
3. select to_char(sysdate,'day') dual;

這樣子就可看到中文的,如要看別的語系的話就自行更改1、2 的參數就好了


Posted by my_work at 樂多Roodo!17:05回應(0)引用(0)

2006年09月20日

ocp報表流程

報考官方網站
 http://www.prometric.com/default.htm

流程如圖:


...繼續閱讀


Posted by my_work at 樂多Roodo!16:37回應(2)引用(0)

2006年09月12日

使用TKPROF來追蹤,分析使用者的sql

OS:win2000
ORACLE:10g r2 ...繼續閱讀

Posted by my_work at 樂多Roodo!15:50回應(0)引用(0)

2006年08月21日

2006年08月18日

2006年08月16日

在noarchive的狀態下損壞datafile後能還原的程度

損壞:只有datafile損壞
os:win2000
oracle:10.0.2 ...繼續閱讀

Posted by my_work at 樂多Roodo!15:02回應(0)引用(0)

2006年08月14日

記一下Windows Platform Considerations要注意的地方


Windows does not implicitly support inheritance of network endpoints. To do this, the registry entry USE_SHARED_SOCKET must be set to TRUE to allow multiple connections to use a single socket. When the value is FALSE (default), bequeath connections are not possible so a redirect session is initiated instead.
If the USE_SHARED_SOCKET entry is set to TRUE, Windows can initiate bequeath connections but there are some caveats to consider. If a number of connections are initiated and for some reason the listener is stopped, the listener will not be able to be restarted until the connections are cleared.
This is because the existing connections are using the same port number that the listener needs to listen on. This is a limitation with Microsoft’s implementation of TCP/IP using Windows Sockets API (WINSOCK2).

...繼續閱讀

Posted by my_work at 樂多Roodo!18:23回應(0)引用(0)

查INSERT Append as SELECT所找到不錯的文章

我只貼出重點,全文請到原作那裏看


數據導入方法總體導入時間(秒) 導入進程佔用CPU時間(秒)
逐條數據插入INSERT 172 52
逐條數據插入INSERT,表暫無索引 130 35
批量插入,表暫無索引 14 7
Create As Select,使用Oracle9i的External Table 15 8
INSERT Append as SELECT,使用Oracle9i的External Table 15 8
SQL*Loader conventional path 缺省導入選項 81 12
SQL*Loader direct path 導入選項 9 3

...繼續閱讀

Posted by my_work at 樂多Roodo!14:58回應(0)引用(0)
 [第一頁]  [7]  [8]  [9]  [10]  [11]  [12]  [13]  [14]  [最終頁]