April 16, 2018 at 10:23 am
Hello,
I need a help from you. Could you please confirm is it possible to parse JSON file in SQL server 2014 version?
Thanks
Rajan. S
April 16, 2018 at 10:35 am
manavairajan - Monday, April 16, 2018 10:23 AMHello,I need a help from you. Could you please confirm is it possible to parse JSON file in SQL server 2014 version?
Thanks
Rajan. S
Almost all things are possible in SQL Server, given enough time and effort, but native support is available only from 2016 onwards.
SSIS can parse JSON files, with a bit of scripting. Or you could write CLRs to help you do it in T-SQL.
April 16, 2018 at 11:06 am
You could take a look at this for options on using JSON before SQL Server 2016.
https://www.red-gate.com/simple-talk/sql/t-sql-programming/consuming-json-strings-in-sql-server/
April 16, 2018 at 12:35 pm
Luis Cazares - Monday, April 16, 2018 11:06 AMYou could take a look at this for options on using JSON before SQL Server 2016.
https://www.red-gate.com/simple-talk/sql/t-sql-programming/consuming-json-strings-in-sql-server/
We are using a JSON parser written by Phil Factor on a SQL Server 2012 server. It works, but I did have to do a slight work-around to be successful with it. I had to remove all spaces on either side of the ":" to get it to parse the JSON strings we were provided.
April 16, 2018 at 12:39 pm
Chipping in (same as Lynn suggested) have a look here
April 20, 2018 at 9:49 am
Lynn Pettis - Monday, April 16, 2018 12:35 PMLuis Cazares - Monday, April 16, 2018 11:06 AMYou could take a look at this for options on using JSON before SQL Server 2016.
https://www.red-gate.com/simple-talk/sql/t-sql-programming/consuming-json-strings-in-sql-server/We are using a JSON parser written by Phil Factor on a SQL Server 2012 server. It works, but I did have to do a slight work-around to be successful with it. I had to remove all spaces on either side of the ":" to get it to parse the JSON strings we were provided.
That's a good thing to know. Thank you for the note.
I haven't had to work with JSON and I hope to never have to do it (in SQL).
April 20, 2018 at 9:59 am
Luis Cazares - Friday, April 20, 2018 9:49 AMLynn Pettis - Monday, April 16, 2018 12:35 PMLuis Cazares - Monday, April 16, 2018 11:06 AMYou could take a look at this for options on using JSON before SQL Server 2016.
https://www.red-gate.com/simple-talk/sql/t-sql-programming/consuming-json-strings-in-sql-server/We are using a JSON parser written by Phil Factor on a SQL Server 2012 server. It works, but I did have to do a slight work-around to be successful with it. I had to remove all spaces on either side of the ":" to get it to parse the JSON strings we were provided.
That's a good thing to know. Thank you for the note.
I haven't had to work with JSON and I hope to never have to do it (in SQL).
Working with JSON in 2016 and newer is so much easier.
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy