Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 16 Jan 2007 @ 14:18:48 GMT


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


Subj:   Re: Invalid views
 
From:   Daugherity, Ralph C.

  Is there an easy way (DBC query or otherwise) to find out if a view is invalid or valid?  


Try

     EXPLAIN SELECT COUNT(*) FROM mydatabase.myview ;

You will get an error if the view is invalid.


Ralph Daugherity



     
  <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