一. 以SYSDBA身分登入9.2.0.1,刪除PUBLIC synonym XMLCONCAT & FUNCTION XMLCONCAT C:> sqlplus / NOLOG SQL> CONNECT / AS SYSDBA SQL> DROP PUBLIC synonym XMLCONCAT; SQL> DROP FUNCTION XMLCONCAT;二. 正常shutdown,並停用oracle 所有服務 SQL>
今天實在無聊,下載了一個Oracle 11g,想看看到底有什麼新的功能。安裝好之後,開啟EM,發現有一功能特好,是從另一資料庫匯入資料。立刻設定從一測試庫匯入資料,但卻報如下錯誤: ORA-20446: The owner of the job is not registered ORA-06512: at "SYSMAN.MGMT_JOBS", line 168 ORA-06512: at "SYSMAN.MGMT_JOBS", line 86 ORA-06512: at line 1
轉自:http://levicorp.com/2009/05/22/how-to-kill-the-running-job/ 1. Check the running Job (From here you will get the SID thatrunning the Job)SQL> SELECT * FROM DBA_JOBS_RUNNING;2. Make Job become Broken/offlineBEGIN
啟動Oracle 11gR2後報錯:ORA-00845 rac1:/home/oracle> sqlplus / as sysdba;SQL*Plus: Release 11.2.0.3.0 Production onTue Feb 14 09:11:41 2012 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to an idle instance. SQL> startupORA-00845:
一. Oracle 10g1.1 說明在Oracle 10g下,預設情況下,密碼是不區分大小寫。這個是由於密碼檔案的預設參數有關。 C:\Users\Administrator.DavidDai>orapwdUsage: orapwd file=<fname>entries=<users> force=<y/n> ignorecase=<y/n>nosysdba=<y/n> where file - name of
關於跨OS 的DB 遷移,MOS 上有相關的文章說明:[ID733205.1]。 To migrate anexisting Oracle database (NOT BINARIES) from one Operating Systemplatform to another (i.e. Windows to Solaris) ,This can occur as part ofan Oracle version upgrade (Oracle 8i .. Oracle 11G) or
Oracle Aggregate Functions用過很多,官網的說明如下: Aggregate Functionshttp://docs.oracle.com/cd/E11882_01/server.112/e26088/functions003.htm#SQLRF20035 Aggregatefunctions return a single result row based on groups of rows, rather than onsingle rows. Aggregate
用set autotrace 或者 explain plan for 產生執行計畫時,有如下提示:Note----- - 'PLAN_TABLE' is old version 導致這個錯誤的原因是曾經使用toad的執行計畫分析過,所以執行了它內建的指令碼產生了plan_table。 解決辦法,drop掉plan_table後重新建立就可以了。SQL> drop table PLAN_TABLE;Table dropped. SQL>