环境:OS:Red Hat Linux As5DB:11.2.0.11.在其中一个节点上备份每个节点都能够访问另外节点的归档日志(通过nfs实现)run{ allocate channel c1 device type disk; allocate channel c2 device type disk; backup database format '/bak/rman_bak/full_%u_%T.bak'; backup spfile format...【阅读全文】
原SQL语句如下:update Tindex a set a.object_type='SPECIAL' where a.object_type is not nulland exists (select 1 from Tindex b where b.object_name='TINDEX' and a.object_name=b.object_name)使用以下语句查看当前游标执...【阅读全文】
在ORACLE里,一般认为''与NULL是等价的,除了一些特别的语法,比如有id is null,但是没有id is '',以及''作为字符类型的特殊性,在decode等函数要求类型匹配的时候,与NULL可能不等价。本篇文章主要说明下''与NULL在SQL优化器中也有很大的区别,如果不了解这个区别,很可能SQL语句的性能,将要陷入灾难境地。【阅读全文】
sqlplus "/ as sysdba" SQL*Plus: Release 10.2.0.3.0 - Production on Thu Jun 18 09:51:28 2009Copyright (c) 1982, 2006, Oracle. All Rights Reserved.Connected to:Oracle Database 10g Release 10.2.0.3.0 - 64bit ProductionSQL> show parameter auditNAME ...【阅读全文】
可以table形式返回數據.点击(此处)折叠或打开create or replace package PKG_LDAP AUTHID CURRENT_USER as/**************************************** Ver Date Author Description --...【阅读全文】