Skip to content

Commit 8344bb0

Browse files
authored
Next try.
1 parent 57962b0 commit 8344bb0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ author: "BYHAM"
2424
ms.author: "rickbyh"
2525
manager: "jhubbard"
2626
---
27-
# @ @ERROR (Transact-SQL)
27+
# @@ERROR (Transact-SQL)
2828
[!INCLUDE[tsql-appliesto-ss2008-all_md](../../includes/tsql-appliesto-ss2008-all-md.md)]
2929

3030
Returns the error number for the last [!INCLUDE[tsql](../../includes/tsql-md.md)] statement executed.
@@ -66,7 +66,7 @@ GO
6666
```
6767

6868
### B. Using @@ERROR to conditionally exit a procedure
69-
The following examples 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.
69+
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.
7070

7171
```
7272
USE AdventureWorks2012;

0 commit comments

Comments
 (0)