Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. {
  2. "Assessment": {
  3. "AssessmentContext": {
  4. "ReportID": "1021060",
  5. "ReportName": "John Smith",
  6. },
  7. }
  8.  
  9. SELECT Data.CpsReportID,Data.ReportName
  10. FROM TableName DT
  11. CROSS APPLY
  12. OPENJSON(DT.TX_TEXT) WITH (
  13. ReportID INT '$.ReportID',
  14. ReportName VARCHAR(100) '$.ReportName'
  15. ) AS Data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement