![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 23 Nov 2007 @ 13:23:55 GMT
Hi,
select type(current_timestamp);
results in
timestamp(6) with time zone
where your field is defined without the time zone - that's causes the error. try
select COALESCE(ins_dtm, cast(CURRENT_TIMESTAMP as timestamp(6)))
FROM table1
Ulrich
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 01 Dec 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||