![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 03 Jan 2007 @ 13:40:39 GMT
Hey I did the following Assumption: Integer column has value 180723 to represent time as 18:07:23 Table: create table TTime(tt time(0)); You can use the following for inserting time 180723 (i.e 18:07:23 )into TTime using ODBC
insert into ttime(tt)
sel Cast (Cast( 180723 as time(0)) as char(10) )
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||