Database Administrator
Tuesday, August 7, 2012
Email Notification for alter user
›
CREATE OR REPLACE TRIGGER dtr_userEvents BEFORE ALTER ON SCHEMA DECLARE l_sqlText ORA_NAME_LIST_T; BEGIN IF ora_dict_obj_type ...
restrict USER any software other than SQLPlus to connect to Oracle database
›
/*restrict any software other than SQL*Plus to connect to Oracle database. */ /* Oracle Job Scheduler DBMS_JOB */ create or replace pro...
ORA-02290 check constraint violated
›
Select 'SELECT * FROM ' || Table_Name || ' MINUS SELECT * FROM ' || Table_Name || ' WHERE ' || Search_Condition ||...
Monday, August 6, 2012
ORA-02291: integrity constraint (string.string) violated - parent key not found
›
ORA-02291: integrity constraint (string.string) violated - parent key not found Cause: A foreign key value has no matching primary key v...
Wednesday, August 1, 2012
Purging trace and dump files with 11g ADRCI
›
Purging trace and dump files with 11g ADRCI In previous versions of Oracle prior to 11g, we had to use our own housekeeping scripts t...
Trace Dump File Housekeeping in 11g Adrci
›
Automatic Diagnostic Repository Command Interface Starting with 11gR1, we have a new way to deal with Oracle Errors & Tracefiles: Th...
Monday, July 30, 2012
Alter database link Password 11g
›
Our organization requires a regular password change on some database accounts for security compliance. If this account is used in the datab...
Tuesday, July 24, 2012
Finding NULL in column
›
select column_name, num_nulls from all_tab_columns where table_name = 'SOME_TABLENAME' and owner = 'SOME_OWNER'; --------...
Finding Any Character / NULL in All tables, Columns in Schema
›
create or replace function find_in_schema(val varchar2) return varchar2 is v_old_table user_tab_columns.table_name%type; v_where ...
Monday, July 23, 2012
Standby Database: Forcefully log switch in every 30 min automatically
›
Controlling Archive Lag You can force all enabled redo log threads to switch their current logs at regular time intervals. In a primary...
Tuesday, July 17, 2012
Change Notification not received from Oracle database 11.2.0.1 to client 11.2.0.3
›
Server version Client version 11.2.0.1.0 ...
‹
›
Home
View web version