We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 459c006 commit 842a418Copy full SHA for 842a418
SQL/WideWorldImportersUpdates.sql
@@ -105,7 +105,7 @@ SET NOCOUNT ON;
105
DECLARE @CustomerId INT = NEXT VALUE FOR Sequences.CustomerID;
106
WITH [source] AS
107
(
108
- SELECT * FROM OPENJSON(@Json) WITH (
+ SELECT @Id AS CustomerID, * FROM OPENJSON(@Json) WITH (
109
[CustomerName] NVARCHAR(100),
110
[PhoneNumber] NVARCHAR(20),
111
[FaxNumber] NVARCHAR(20),
0 commit comments