Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 28 Feb 2007 @ 20:35:02 GMT


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


Subj:   Re: Is there any way to find all tables which have two particular column in a database
 
From:   Castelli Emanuel Alejandro

Hi,

     Select
     databasename,
     tablename
     from
     dbc.columns
     where
     columnname = column1
     and columnname = column2;

Bye

Castelli, Emanuel Alejandro
Desarrollo DataWarehouse - IBM Argentina



     
  <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