• Artur Komkov (12/9/2010)


    What's why I always try to avoid nullable columns or make something like that:

    select * from dbo.Employees where EmployeeID

    not in (SELECT isnull(NullableColumn,0) FROM NullOperation)

    Artur should get a gold star and extra points for using the function that was created to keep the ANSI NULL issue the question points out from occuring. I work on a database application that has 3000+ stored procedures. Almost all of them use the isnull function.