Quantcast
Channel: Toad for Oracle
Viewing all articles
Browse latest Browse all 4009

Forum Post: RE: Toad Schema Compare

$
0
0
Here is the last sql run before it went to sleep: Select C.CONSTRAINT_NAME, CC.COLUMN_NAME, C.SEARCH_CONDITION, C.GENERATED, C.TABLE_NAME from SYS.DBA_CONS_COLUMNS cc , SYS.DBA_CONSTRAINTS c where c.OWNER = cc.OWNER (+) and c.CONSTRAINT_NAME = cc.CONSTRAINT_NAME (+) and c.TABLE_NAME = cc.TABLE_NAME (+) and c.OWNER = 'PRODDB' AND C.CONSTRAINT_TYPE in ( 'C' , '?' , 'F' ) order by table_name, constraint_name, column_name FYI. It seems to do the same thing if you extract this sql and run it against another instance (not one involved in the compares). As I said in the original post, I need this to provide the “NOT NULL” portion of the table creates. Thanks for your assistance. Thanks, Dave Bowers Sr. Database Administrator HNI Corporation bowersd@hnicorp.com (W) 563 272-7211 (C) 563 299-7211 P Please consider the environment before printing this email This email may contain information that is confidential. If you are not the intended recipient, please notify me immediately and delete the email and any attachments.

Viewing all articles
Browse latest Browse all 4009

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>