Reputation: 649
Is there a way to connect to an SQL database without using ASP/ASP.NET, PHP, etc.?
And using only Ajax, JQuery, etc.? Thanks.
Upvotes: 1
Views: 4291
Reputation: 294297
I don't want to have to build or anything.
Well, you're going to, willing or not. Have a look at Creating an OData API for StackOverflow including XML and JSON in 30 minutes for how to 'build' such a feature using ASP and Endity Framework to expose an OData API.
Upvotes: 2
Reputation: 89671
SQL Server supported Native XML/SOAP endpoints: http://technet.microsoft.com/en-us/library/cc280436.aspx
Now deprecated in SQL Server 2008
Now of course this would mean that your SQL Server had to be able to handle HTTP requests from the client - which might be on the Internet. But it's possible, regardless of the wisdom of doing so.
Upvotes: 1
Reputation: 16955
It's not "SQL", but I think you use CouchDB as your database platform - that supports a REST/JSON API for querying:
Upvotes: 0