Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 17 Nov 2009 @ 16:02:59 GMT


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


Subj:   Re: Query on date format
 
From:   Tewksbury, Kevin

You need to cast the input value as a date using the format matching the input format:

     INSERT INTO dbawork.test_date
          VALUES(CAST ('11/17/2009' AS DATE FORMAT 'MM/DD/YYYY'));

Kevin R Tewksbury
Sr. Database Administrator
LimitedBrands
Limited Technology Services



     
  <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