ORACLE 10goracle 下載還需要使用者名稱我自己註冊了個方便大家使用下載user:wangdetian168@gmail.compass:qwe123QWEOracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
Sample Script: Using the Additions API with No InvoicesThe following sample script shows how you can use the Additions API to test a manual change, when no invoice information is used: set serveroutput ondeclare l_trans_rec FA_API_TYPES.trans_rec_
select * from all_tab_comments; --查詢所有使用者的表、視圖等select * from user_tab_comments; --查詢目前使用者的所有表、視圖等select * from all_col_comments; --查詢所有使用者的表的列名和注釋select * from user_col_comments; --查詢目前使用者的表的列名和注釋select * from all_tab_columns;
create or replace trigger t_after_table --create or replace trigger 觸發器名稱after insert ---時間 after/before 事件 insert or update or deleteon student ---作用的表 on tablenameFOR EACH ROW -- 指定是否對受影響的每行都執行觸發器,即行級觸發器,如果不使用此子句,則為語句級觸發器declare -
http://space.itpub.net/90618/viewspace-630651 161SDO_TOPO_MAPDocumentation of SDO_TOPO_MAP162SDO_TUNEDocumentation of SDO_TUNE163SDO_UTILDocumentation of SDO_UTIL164UTL_COLLSummary of UTL_COLL Subprograms IS_LOCATOR Function
在進行sql執行過程中,由於有時候系統自動最佳化的方式並不是最優的。需要我們手工添加hint來提高查詢效率。1. /*+ALL_ROWS*/表明對語句塊選擇基於開銷的最佳化方法,並獲得最佳輸送量,使資源消耗最小化.例如:SELECT /*+ALL+_ROWS*/ EMP_NO,EMP_NAM,DAT_IN FROM BSEMPMS WHERE EMP_NO='SCOTT'; 2.