Viewing 4 posts - 1 through 4 (of 4 total)
Can you please explain little more what kind of output you want?
its not clear.
June 28, 2013 at 4:37 am
Kingston Dhasian (6/25/2013)
Adarsh Chauhan (6/25/2013)
select * from Orderswhere isnull(order_amt,0) =0
or
select * from Orders
where order_amt is null or order_amt = 0
This is exactly the opposite of what the OP...
June 27, 2013 at 3:43 am
@ Kingston Dhasian
i dont think so...
as question says...
selects all orders with zeroes or NULLs in the order_amt field.
so how my query is just reverse?? it will select those orders...
June 27, 2013 at 3:40 am
select * from Orders
where isnull(order_amt,0) =0
or
select * from Orders
where order_amt is null or order_amt = 0
June 25, 2013 at 5:46 am
Viewing 4 posts - 1 through 4 (of 4 total)