Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 04 May 2010 @ 20:19:10 GMT


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


Subj:   Re: Timestamp issue in mload
 
From:   Hohman, Bruce E

There's no need for the UDF because a date can be cast to a timestamp and the time is set to 0

     select cast(cast('20001015    ' as date format'yyyymmdd') as timestamp(6));

returns 2000-10-15 00:00:00.000000,


Thanks,

Bruce



     
  <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