Your best bet is to build some APIs to interact with the SQL Server. You could use any runtime to do that -- WCF, WebAPI (since you're talking of SQL Server, I guess you're on a Microsoft stack), PHP (it should have a SQL Server connector) or whatever you want.