Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 07 Jan 2002 @ 12:35:37 GMT


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


Subj:   Re: Exporting time
 
From:   David Wellman

Sorry, missed that bit. yes, I think you need to extract the parts and put them back together, try this:

sel (extract(hour from time) (format '99.'))
    ||(extract(minute from time) (format '99.'))
    || substring( ((time (format '99:99:99.999999')) (char(15))) from 7
for
9);

You can always add in the DATE portion as required.

Dave

Ward Analytics Ltd: Information in motion (www.ward-analytics.com)



     
  <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