Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 17 Jan 2007 @ 13:27:32 GMT


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


Subj:   Re: Question regarding dummy table
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, January 17, 2007 08:31 -->

There is no system-defined one-row, one-column table in Teradata. If you create one of your own, be sure to declare the dummy column a UPI and to specify that single PI value in your SELECTs for best performance.

Someone else recently suggested

     SELECT ... FROM SYS_Calendar.Calendar
         WHERE Calendar_Date = Current_Date;


     
  <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