I\'m trying to read JSON data from a URL in SQL Server 2008, using this code:
DECLARE @temp table (RowNum int, DATA N
E.J. explained it quite well, I agree with him.
I would like to add that if you want to keep everything in database code you can try CLR procedures that are essentially written in C# but work inside SQL Server.
See these links for details on how to do this in C#
HTTP request with post
How to make a GET request by using Visual C#
This is an example of "just because you can, doesn't mean you should".
SQL Server is not the right tool for this job; the fact that it works at all is amazing. If you want to speed it up, put in in a c# or php program and let SQL server do that job it was intended for. Processing jSON responses is not one of them.