Monday 30 October 2017

MSSQL - Check against null

Watch this example on YouTube


Declare @NullValue int = 3

IF @NullValue is Null
Begin
    print 'NULL'
End
Else
Begin
    print 'NOT NULL'
End

No comments:

Post a Comment