| 6. |
Victoria uses the RAISERROR Transact-SQL statement like this: RAISERROR ("Fatal Error", 1, 1, @DBID, @DBNAME) She then tests the value of @@ERROR and finds that it is 0. How could this be if she just raised the error?
Please select the best answer.
|
| |
A.
|
She must be testing the wrong variable. |
| |
B.
|
The severity is set to 1 and it should be set to greater than 10. |
| |
C.
|
The @@ERROR variable won’t be set without using the SETERROR option. |
| |
D.
|
The state is set to 1 and it should be set to greater than 10. |