Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 07 Dec 2007 @ 19:10:37 GMT





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




Subj:   Re: Create table with comments
 
From:   Kamin Shah



You will have to go against the DBC table to generate comments for you:

     select
     'COMMENT ON ' || TRIM(DATABASENAME) || '.' || TRIM(TABLENAME) || '.' ||
     TRIM(COLUMNNAME) || ' IS ' || '''' || COMMENTSTRING || '''' || ';'
     /*select * */
     from dbc.columns




     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 01 Dec 2008