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 |
|
desikankannan
Posting Yak Master
152 Posts |
Posted - 2011-05-26 : 02:54:33
|
| Hi,i try to work with iif satement my out put is 19 NULL NULLbut i want to the output like19 0 0 SELECT ht_booknew.book_id, invoice.dinid, invoice.dinvoicenoFROM ht_booknew LEFT JOIN invoice ON ht_booknew.book_id = invoice.book_id where ht_booknew.tripstatus = 'Y' my out put 19 NULL NULLbut i need to get19 0 0Desikankannan |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
|
|
|