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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-04-15 : 08:43:11
|
| Imtiaz writes "Hi,I read your solution to Use CASE instead of IIF. IS it possible to have Multiple IIFs.Ex:X = iif(isnul(Y),Z,iif(isnul(Z),Y,X))In a view?Thanks,Imtiaz" |
|
|
Nazim
A custom title
1408 Posts |
Posted - 2002-04-15 : 09:10:02
|
| you can nset Case this waycase isnull(y,'#') when '#' then Z else Case isnull(Z,'^') when '^' then X end end-------------------------------------------------------------- |
 |
|
|
|
|
|