Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 18 Feb 2005 @ 11:27:50 GMT

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

Subj:   Re: Views referring tables
From:   Claybourne Barrineau


This should work fine:

     Select      trim(databasename) || '.' || trim(tablename)
     From  dbc.tables
     Where (trim(databasename) || '.' || trim(tablename))
           'Your Database.Your Table With New Columns'
     and   TableKind   =     'V'

Hope this helps,


  <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