Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 update diff datatype

Author  Topic 

oracle_corrgi
Yak Posting Veteran

98 Posts

Posted - 2007-01-24 : 02:15:11
hi
want to update data from column update_on data type varchar2(1200) to column temp_update datatype timestamp in the same table

eg:
update policy_doc set temp_updated_on=updated_on;


krmm

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-01-24 : 02:18:48
This is a SQL Server forum, not an ORACLE forum.

I wild guess is that you could convert the data with CONVERT function, or CAST function.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -