Sunday, August 21, 2016

Extract DDL of Table

 Using metadata package DBMS_METADATA to extract DDL of the table 

SQL> set long 9000
SQL> select dbms_metadata.get_ddl ('TABLE','EMP_INFO') from dual;

--Nikhil Tatineni--
--Database --

Querys to monitor RAC

following few  Query's will help to find out culprits-  Query to check long running transaction from last 8 hours  Col Sid Fo...