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 |
|
rihardh
Constraint Violating Yak Guru
307 Posts |
Posted - 2004-07-19 : 03:13:24
|
| Is there an easy way of replacing let's say bit values with strings in a select statement? (like the "iif" function in analysis services...???)For example:Every bit value of 1 should show "yes" and 0 should say "no" in the select statement.My appologies if this was allready answered... |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-07-19 : 03:38:36
|
| case when fld = 0 then 'no' else 'yes' end==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
rihardh
Constraint Violating Yak Guru
307 Posts |
Posted - 2004-07-19 : 04:43:23
|
| Thanks. |
 |
|
|
|
|
|