Click here to Skip to main content
15,889,839 members
Articles / Programming Languages / SQL

Inserting JSON Text into SQL Server Table

Rate me:
Please Sign up or sign in to vote.
4.86/5 (29 votes)
26 Mar 2016CPOL7 min read 293.7K   1.3K   35  
How to easily insert array of JSON objects into SQL Server 2016 tables
In this article, we will see how you can use OPENJSON function to insert array of JSON object into table.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Program Manager Microsoft
Serbia Serbia
Graduated from Faculty of Electrical Engineering, Department of Computer Techniques and Informatics, University of Belgrade, Serbia.
Currently working in Microsoft as Program Manager on SQL Server product.
Member of JQuery community - created few popular plugins (four popular JQuery DataTables add-ins and loadJSON template engine).
Interests: Web and databases, Software engineering process(estimation and standardization), mobile and business intelligence platforms.

Comments and Discussions