Archives of the TeradataForum
Message Posted: Mon, 11 Jul 2011 @ 08:54:56 GMT
<-- Anonymously Posted: Monday, July 11, 2011 01:48 -->
Is there a way to use cast function to convert a date field to timestamp. I have table with a field defined as date. Now, I am recreating this table with field's data type modified to timestamp(6). How can I insert the data back with datetime
Tried insert into dt values(cast('2011/07/11' as timestamp(6))) But it is failing with error code 6760 "invalid timestamp"
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|