Is it possible to use SQL server in ionic? and how? Thanks
Hi,
If you mean running a local sql database then look here:
1 Like
I mean MSSQL not sqlite.
thanks!
You’re talking about a server database (even if you are running it and ionic development on the same box ionic sees it as a server resource), so no, not directly. The good news is that it is not difficult to accomplish. Client tools such as ionic/angular speak to server resources, such as databases, using services. These services are often written in nodejs, which has an npm package - “mssql” - for doing exactly this.
The question is “can services with rest api’s interface with SQL Server?” and the answer is yes.