Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 07 Dec 2007 @ 18:26:32 GMT


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


Subj:   Re: Create table with comments
 
From:   Anomy Anom

<-- Anonymously Posted: Fri, 7 Dec 2007 12:24 -->

     SHOW TABLE MyDB.MyTable;

     SELECT 'COMMENT ON '
     ||trim(DatabaseName)||'.'||trim(TableName)||'.'||trim(ColumnName)
     ||' IS '''||CommentString||''';'
     FROM DBC.Columns
     WHERE CommentString IS NOT NULL
     AND DatabaseName='MyDB'
     AND TableName='MyTable';


     
  <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