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)
 copying data from one cloumn

Author  Topic 

oracle_corrgi
Yak Posting Veteran

98 Posts

Posted - 2007-01-16 : 01:07:44
hi
can i copy data from one column datacol1 to another column datacol2 datatype are same its money in the same table
thanxs

coorgi

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-01-16 : 01:10:10
UPDATE <YourTableNameHere>
SET DataCol2 = DataCol1


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -