Query Azure SQL Database using Rest-API

Sohrab picture Sohrab · Feb 27, 2018 · Viewed 12.7k times · Source

I have a SQL database server in Microsoft Azure. I want to use Azure Rest-API to select some records from a table. When I refer to Azure SQL Database REST API I can't find any section for this purpose, just I can get a DB information, server info or something like this. here is no suitable API to select or update a table. Could you please help me?

Answer

Rom Eh picture Rom Eh · Feb 27, 2018

As mentionned in the article, the Azure SQL Database REST API is designed for the management of the database and the server.

To query a SQL Database with REST queries, you can have a look at ODATA as explained on this post : How to expose Azure Sql Server database using OData.