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 |
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2011-01-17 : 09:45:43
|
I have a column with the following expression(ISNULL(STATUS_DATE) && ISNULL(FEEPAYER) && FEEPAYER == "N" && FEEPAYER == " ") && (FEEPAYER == "Y") ? 0 : 1But it is not returning the desired results. i want to return 0 ifStatus_Data is NULL, Feepayer is NULL, Feepayer = N, FEEPAYER is emptyI want to return 1 ifFEEPAYER = Ycan someone tell me where i am going wrong pleaseMCTS / MCITP certified |
|
masterdineen
Aged Yak Warrior
550 Posts |
Posted - 2011-01-17 : 11:43:57
|
Does anyone know where i can get some good examples on the web? |
 |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-01-17 : 12:01:55
|
Dupe: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=155327 |
 |
|
|
|
|