Values <> null

  • We can't edit the question in email. If we find an issue, it's corrected on the site.

  • Ahhhh...that's why you call us McNewbie's. 🙂 Great site, and great editorials. Look forward to seeing them every day.

  • yes actually i had that question with default settings in mind, but its good to see so many responses as i know it has actually set minds thinking and after all thats the objective.

    In future i will include things like this.

  • Remember:

    Never assume anything because it can make a donkey out of u and me

    Won't let me SUBSTRING('assume',1,3) 😀

    -------------------------------------------------------------------------
    Normal chaos will be resumed as soon as possible. :crazy:

  • its all about the database setting of ANSI_NULLS

    Set ANSI_NULLS off / on

    But by default database settings for ANSI_NULLS is ON so you will get nothing .

  • Interesting topic, yet confusing at times when determining times to set the ANSI_NULL to ON or OFF to yield expected results. Thanks.

  • select * from ##TableNulls where col2 is not null

    will give out the expected results at fist sight

    Thank you for the question

    Igor Micev,My blog: www.igormicev.com

Viewing 7 posts - 16 through 21 (of 21 total)

You must be logged in to reply to this topic. Login to reply