Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 11 Jul 2011 @ 09:29:21 GMT

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

Subj:   Re: Cast date to timestamp
From:   Alves, Patrick

You Need to specify the format because date is not at ansi format ('YYYY-MM-DD') :

     Select Cast( '2001/07/11' as timestamp(0) format 'YYYY/MM/DD') .

Regards .

Patrick A.

  <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