![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 09 Jun 2004 @ 07:08:02 GMT
Vidyasagar.Nagarajan wrote:
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
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||