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
 General SQL Server Forums
 New to SQL Server Programming
 Update Query

Author  Topic 

Easwar
Yak Posting Veteran

59 Posts

Posted - 2007-03-22 : 02:03:37
How to update two column in single query

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-03-22 : 02:04:25
[code]Update Table
set Col1 = 'something', Col2 = 'Something'
Where <condition>[/code]

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

Easwar
Yak Posting Veteran

59 Posts

Posted - 2007-03-22 : 02:06:18
thanks very much
Go to Top of Page
   

- Advertisement -