摘要:
在用oracle10g impdp功能的时候提示 ORA-39001: invalid argument valueORA-01775: looping chain of synonyms 用下面的SQL,查出对象已经不存在的同义词,然后删除掉该同义词 SELECT * FROM DBA_SYNONYMS WHERE TABLE_OWNER = '&owner' AND SYNON... 阅读全文
摘要:
drop index inx_01 ORA-02429: cannot drop index used for enforcement of unique/primary keyalter table emp drop constraint inx_01 ;drop index inx_01; 阅读全文
摘要:
该图来自:http://kamranagayev.com/2009/08/10/oracle-10gr2-architecture-learn-it-by-heart/ 阅读全文
摘要:
操作符:UNION、描述:组合每个查询返回的所有行,并删除重复行SELECT*FROM emp WHERE deptno=10 UNION SELECT*FROM emp WHERE sal>500操作符:UNION ALL、描述:组合每个查询返回的所有行,并包括重复行SELECT*FROM emp WHERE deptno=10 UNION ALL SELECT*FROM emp WHERE s... 阅读全文
摘要:
先判断flash_recovery_area的利用率,如果超过10%则自动调度rman对日志进行归档AIX Version 6.1,Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 – 64bi#!/bin/shecho "---------------begin date-------------"dateexport ORACLE_HOME=/oracle/product/10.2export ORACLE_SID=orclexport NLS_LANG=AMERICAN_AMERICA.ZHS16GBK 阅读全文
摘要:
做imp导入的时候报这个错误提示SQL> SQL> show parameter sga NAME TYPE VALUE------------------------------------ ----------- ------------------------------lock_sga boolean FALSEpre_page_sga boolean FALSEsga_max_size ... 阅读全文
摘要:
新建jobdbms_job.submit(JOB OUT BINARY_INTEGER,WHAT IN VARCHAR2, NEXT_DATE IN DATE DEFAULT SYSDATE, INTERVAL IN VARCHAR2 DEFAULT 'NULL',NO_PARSE IN BOOLEAN DEFAULT FALSE,INSTANCE IN BINARY_INTEGER DEFAULT 0,FORCE IN BOOLEAN DEFAULT FALSE);例如:declare... 阅读全文