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 2000 Forums
 Transact-SQL (2000)
 control flow statement

Author  Topic 

victord
Yak Posting Veteran

64 Posts

Posted - 2001-09-25 : 04:56:34
Hello folks,
Is it possible to fuse an if-else statement with a select statement i.e
update table
if column = 1
set column = 2
else
if column > 1
set column = 3



   

- Advertisement -