Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 22 Sep 2009 @ 00:18:07 GMT

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

Subj:   Re: Tables without statistics
From:   Zhang, Michael

Here is the sample. You may add dbc.indexstats if you want to know about index.

     sel * from dbc.tables
     where (databasename, tablename) not in
     sel databasename, tablename from dbc.ColumnStats
     where FieldStatistics               is not null



  <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