Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 26 Mar 2004 @ 15:12:54 GMT


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


Subj:   Re: Date out of date time fields
 
From:   paul.burns

Greetings,

I think this would do the trick also.
   select current_timestamp (date);

as this works well, we get excepted results.

   select *
   from sys_calendar.calendar
   where calendar_date = current_timestamp(date) ;

This on the other hand does not.

   select *
   from sys_calendar.calendar
   where calendar_date = current_timestamp ;


     
  <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: 27 Dec 2016