Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 09 Jun 2004 @ 07:08:02 GMT





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




Subj:   Re: Formatting string to DATE
 
From:   Dieter Noeth



Vidyasagar.Nagarajan wrote:

  But when i use same qry in MLOAD the session is coming out with error (2797). [Mark Missing Update]  



But this is something completely different now :-)

You're trying to set a date column to a value.

     UPDATE G_STATUS SET END_DT = ?
     WHERE C_CD = ? AND END_DT = date '2050-12-31'

or use the appropriate format

     AND END_DT = '2050-12-31' (date, format 'yyyy-mm-dd')

or if 'MM/DD/YYYY' is the column default format

     AND END_DT = '12/31/2050'

or use an integer

     AND END_DT = 1501231

Dieter





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008