![]() |
|
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||