Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3604c05

Browse files
Update code example.
1 parent c9bc6cd commit 3604c05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎docs/findings/SQLCodeDevelopment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ VALUES ('Kevin', 'Martin')
236236

237237

238238
/***************************************************************
239-
** Perform Updates
239+
** Perform Updates (WHEN MATCHED)
240240
****************************************************************/
241241
UPDATE
242242
P WITH (UPDLOCK, SERIALIZABLE)
@@ -248,7 +248,7 @@ INNER JOIN #Update AS U ON P.LastName = U.LastName;
248248

249249

250250
/***************************************************************
251-
** Perform Inserts
251+
** Perform Inserts (WHEN NOT MATCHED [BY TARGET])
252252
****************************************************************/
253253
INSERT dbo.Person (FirstName, LastName)
254254
SELECT
@@ -263,7 +263,7 @@ WHERE
263263

264264

265265
/***************************************************************
266-
** Perform Deletes
266+
** Perform Deletes (WHEN NOT MATCHED BY SOURCE)
267267
****************************************************************/
268268
DELETE
269269
P

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /