標籤:Oracle不支援直接通過Database Link複製遠端資料庫表的CLOB/BLOB欄位資料到本機資料庫。像如下的SQL是不能執行的。(ipop_topic表有一個CLOB的欄位)insert into ipop_topicselect * from [email protected] where application_id=1000但是,我們可以藉助全域暫存資料表,先把資料複製到暫存資料表,再從暫存資料表轉移到你的目的表。create global temporary
標籤:一.修改密碼1)修改密碼sql>alter user user01 identified by password;2)修改密碼並unlocksql>alter user user01 account unlock identified by password;3)解鎖操作sql>alter user user01 account unlock二.設定密碼有效期間1、查看使用者的proifle是哪個,一般是default: sql>
標籤:媽蛋。。作為一個使用了SQL SERVER有4 5年的程式猿,開始用Oracle真他媽不習慣。寫法真他媽不一樣。比如像寫個像IF EXISTS(SELECT * FROM sys.tables WHERE name = ‘xxxx‘) BEGIN DROP TABLE XXXX END這樣的語句,發現在ORACLE下完全兩碼事。妹的。。於是百度啊。最後發現1)Oracle下沒有IF EXISTS(),Oracle下要實現IF EXISTS()要這麼寫declare num
標籤: 昨天安裝Oracle11g R2的時候給scott使用者佈建密碼,當時沒有顯示而且還只以輸入一次,可能密碼輸入錯誤,結果今天用scott使用者登入果然密碼不對,還好sys和system使用者都正常,就進去給重設了SQL>alter user scott identified by password; //password
標籤:今天進行資料清理時發現報錯ORA-26026,主要是把從交易庫提取資料並插入到歸檔庫中。檢查一下發現是歸檔庫的索引問題。當時為了提高插入速度,所以刪除了歸檔庫的索引,可能對主鍵索引產生了影響。解決方案很簡單,重新重建了一下該表的主鍵索引,問題解決。sql語句:alter index 索引名稱 rebuild; oracle插入資料報錯ORA-26026
標籤:DBA_EXTENTS describes the extents comprising the segments in all tablespaces in the database. Note that if a datafile (or entire tablespace) is offline in a locally managed tablespace, you will not see any extent information. If an object