0

This is gonna be very difficult I guess. I have been breaking my head on this. I am reading data from spring framework tables(a Java framework for executing batch). The data in a field is as mentioned below,

'{"map":{"entry":[{"string":["processingFilePath","\/opt\/edge\/ingest\/inbox\/62662.P.D11102015T125249.P.xml"]},{"string":["fileHash","ce0f5b55d4f0c8d5c3f8af99878a506f210870a2"]},{"string":"jobId","long":7},{"string":["fileName","62662.P.D11102015T125249.P.xml"]},{"string":["submissionType","P"]}]}}'

In SQL Server 2012 , I need to pick up the JobId value which is no "7" from above, and the filename "62662.P.D11102015T125249.P.xml" . Please send in your suggestions to parse this using sql.

Thanks, kannan

0 Answers0