For example, in the execution plan there is an error, then all commands in the batch will not be done. If there is a run-time error, such as overflow or a constraint violation will occur the following things :
- If there is a run-time, the relevant commands and the commands later dismissed.
- If constraint violations occur, only the relevant commands dismissed, while commands thereafter will be continued.
For example there are five commands in a batch. If the third command syntax errors, the command will not run. If the batch has been compiled and run second command fails, the outcome of the first command will not be affected because it has completed execution.
0 comments:
Post a Comment