Skip to content

Commit f22692a

Browse files
authored
Merge pull request #326 from dkthedon/patch-1
corrected desciption of code snippet
2 parents 1470b60 + aad4263 commit f22692a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/functions/error-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ GO
7070
```
7171

7272
### B. Using @@ERROR to conditionally exit a procedure
73-
The following example uses `IF...ELSE` statements to test `@@ERROR` after an `INSERT` statement in a stored procedure. The value of the `@@ERROR` variable determines the return code sent to the calling program, indicating success or failure of the procedure.
73+
The following example uses `IF...ELSE` statements to test `@@ERROR` after an `DELETE` statement in a stored procedure. The value of the `@@ERROR` variable determines the return code sent to the calling program, indicating success or failure of the procedure.
7474

7575
```
7676
USE AdventureWorks2012;

0 commit comments

Comments
 (0)