Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 17 Dec 2007 @ 20:32:29 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Verifying tables structures between two different databases
 
From:   Michael Larkins

Suresh:

You could use a correlated subquery with NOT EXISTS:

     sel * from dbc.tables t1
     where databasename = '' and tablekind = 't'
         and not exists (sel * from dbc.tables where t1.tablename=tablename and
     databasename='')

hope this helps,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023