Mega Code Archive
Categories
/
MSSQL Tutorial
/
Transact SQL
Testing the ISNULL function
4> 5> DECLARE @intTest int 6> SELECT ISNULL(@intTest,5) 7> SELECT @intTest = 37 8> SELECT ISNULL(@intTest,5) 9> GO ----------- 5 (1 rows affected) ----------- 37 (1 rows affected) 1>