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.
Author |
Topic |
chodanvaibhav
Starting Member
4 Posts |
Posted - 2009-02-04 : 02:03:47
|
i want a 2 column value to be true and other 2 col false in a select |
|
bklr
Master Smack Fu Yak Hacker
1693 Posts |
Posted - 2009-02-04 : 02:15:30
|
try like thisselect * , case when identitycolumnname %3 = 0 then 'inactive' else 'active' end status from urtablename |
|
|
|
|
|