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 842a418

Browse files
committed
fixed update procedure
1 parent 459c006 commit 842a418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎SQL/WideWorldImportersUpdates.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ SET NOCOUNT ON;
105105
DECLARE @CustomerId INT = NEXT VALUE FOR Sequences.CustomerID;
106106
WITH [source] AS
107107
(
108-
SELECT * FROM OPENJSON(@Json) WITH (
108+
SELECT @Id AS CustomerID, * FROM OPENJSON(@Json) WITH (
109109
[CustomerName] NVARCHAR(100),
110110
[PhoneNumber] NVARCHAR(20),
111111
[FaxNumber] NVARCHAR(20),

0 commit comments

Comments
(0)

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