Mega Code Archive
Observing line numbers in exceptions
6> SELECT 1
7> GO
-----------
1
(1 rows affected)
1> SELECT 2
2> GO
-----------
2
(1 rows affected)
1> SELECT 1/0
2> GO
Msg 8134, Level 16, State 1, Server J\SQLEXPRESS, Line 1
Divide by zero error encountered.
1>
2>