Last active
April 11, 2017 09:03
-
-
Save Hugoberry/0ca6276fe1534c7941d45e4bb229cc41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE PROC [dbo].[usp_InsertDemoJSON] @json AS nvarchar(max) | |
AS | |
BEGIN | |
INSERT INTO Demo ([Key],[Value]) | |
SELECT * | |
FROM OPENJSON(@json) | |
WITH ([Key] int, [Value] varchar(50)) | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment