標籤:昨天看有個文章說到的失效對象重新編譯的問題,然後發現自己公司裡也出現莫名其妙的失效對象。--建立自動編譯失效過程事務記錄表declare tabcnt integer := 0;begin select count(*) into tabcnt from dba_tables where table_name=‘RECOMPILE_LOG‘; if tabcnt = 0 then execute immediate ‘create table
標籤:oracle 字元集1、資料庫字元集資料庫字元集包括兩個字元集:資料庫字元集和國家字元集,都是在建立資料庫的時候指定的。1.1、查詢當前資料庫的字元集[email protected]>col value for a30[email protected]>select * from nls_database_parameters 2 where parameter
標籤:基本概念Local Coordinator:在分布事務中,必須參考其它節點上的資料才能完成自己這部分操作的網站。Global Coordinator:分布事務的發起者,負責協調這個分布事務。Commit Point Site:在分布事務中,首先執行COMMIT或ROLLBACK操作的網站。一般情況下,應該把儲存關鍵資料的網站作為Commit Point Site。因為Commit Point
標籤: 1、尋找表的所有索引(包括索引名,類型,構成列): select t.*,i.index_type from user_ind_columns t,user_indexes i where t.index_name = i.index_name and t.table_name = i.table_name and t.table_name = 要查詢的表 2、尋找表的主鍵(包括名稱,構成列): select cu.* from
標籤:一、觸發這個錯誤的原因及相關因素 是因為oracle11g中預設在default概要檔案裡設定了“PASSWORD_LIFE_TIME=180天”所導致。在Oracle 11g中是存在password到期問題的。二、錯誤現象:使用者被鎖定之後會報ORA-28000的錯誤,並提示無法登入到資料庫SQL> conn system/oracleERROR:ORA-28000: the account is lockedWarning: You are no