 <blockquote> <p>but i can't find any tutorial which links sql server with cordova app, all i can find is with SQLite or MySQL. I want to connect my local DB with the app directly.</p> </blockquote> <p>Currently there is no way to connect to <code>sql server</code> directly in Cordova.</p> <p>You need to implement a service layer for data exposion of your database. You can leverage <a href="https://www.npmjs.com/package/mssql" rel="nofollow noreferrer">mssql for node</a> if you are familar with javascript. Alternatively, <a href="https://www.asp.net/web-api" rel="nofollow noreferrer">ASP.Net Web API</a> is a good choice, if you are more familar with <code>.Net</code>.</p> <p>Whatever the technology you use to build the service layer. It will eventually be consumed by your cordova app through <a href="https://developer.mozilla.org/en-US/docs/AJAX/Getting_Started" rel="nofollow noreferrer">Ajax</a>.</p>