TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
arvind baldaniya
NA
339
140.7k
Convert two columns into key-value json object?
Jul 4 2018 12:33 AM
I am looking for a query with the native functions of SQL Server 2012 to extract the JSON from the column Value, and dynamically create columns, and I want to do this for different columns
I have multiple record
ID
Data
Other
122
{"URL":"www.url.com","Icon":"some_icon","Facebook":"Fa_url"}
Test123
222
{"URL":"www.url.com","Icon":"some_icon", Facebook":"Fa_url"}
test123
I need to this formate
id
URL
Icon
Facebook
Google
Other
122
www.abc.com
Some_icon
Facebook_url
abc
test123
222
www.abc.com
Some_icon
Facebook_url
abc
test123
Attachment:
Capture.rar
Reply
Answers (
8
)
Does SQL language is necessary for data science
Need Query for this output