Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: find maxsales details in sql server

    Can you please explain little more what kind of output you want?

    its not clear.

  • RE: general

    Kingston Dhasian (6/25/2013)


    Adarsh Chauhan (6/25/2013)


    select * from Orders

    where 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...

  • RE: general

    @ 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...

  • RE: general

    select * from Orders

    where isnull(order_amt,0) =0

    or

    select * from Orders

    where order_amt is null or order_amt = 0

Viewing 4 posts - 1 through 4 (of 4 total)