Skip to content

Commit d061676

Browse files
Update variables-transact-sql.md
Corrected example incorrectly showing two batches of statements separated by GO. This change shows code that accurately reflects the point being made in the section.
1 parent a59d556 commit d061676

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/t-sql/language-elements/variables-transact-sql.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ GO
7575

7676
DECLARE @MyVariable AS INT;
7777
SET @MyVariable = 1;
78+
GO
7879

7980
SELECT BusinessEntityID,
8081
NationalIDNumber,

0 commit comments

Comments
 (0)