Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 08 Feb 2011 @ 12:49:45 GMT


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


Subj:   Re: Converting TIMESTAMP to DATE
 
From:   Maccha Narayana Rao Naidu

Check this

     select date;

      *** Query completed. One row found. One column returned.
      *** Total elapsed time was 1 second.

         Date
     --------
     11/02/08

      BTEQ -- Enter your DBC/SQL request or BTEQ command:
     sel cast(date as date format 'yyyymmdd');

     sel cast(date as date format 'yyyymmdd');

      *** Query completed. One row found. One column returned.
      *** Total elapsed time was 1 second.

         Date
     --------
     20110208

Thanks

N.Machha



     
  <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