Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is sql compact server and why we use this.And can we use this db without install sql server on any computer with exe to client use

What I have tried:

Can we use compact sql db for local use to insert and get data from db without installing sql server
Posted
Updated 28-Mar-16 3:39am
Comments
RickZeeland 28-Mar-16 15:54pm    
Comparison of SQL Server Compact, SQLite, SQL Server Express and LocalDB:
http://erikej.blogspot.nl/2011/01/comparison-of-sql-server-compact-4-and.html

Using SQL Server Compact 4.0 with Desktop Private Deployment and a Setup project (MSI):
http://erikej.blogspot.nl/2011/02/using-sql-server-compact-40-with.html

1 solution

Sqlcompactdb is local database file. yes with out using sql server we can use for insert,update,delete for any commands we can use this file.but one drawback is there in local database it is not possible to use stored procedures.here we can write joins quaries.yes you can use as client database.
 
Share this answer
 
Comments
Arslan saif 28-Mar-16 9:50am    
what is drawback of this db and how to control this
PIEBALDconsult 28-Mar-16 10:04am    
Limited datatypes.
Not scalable to many users.
Member 12415621 28-Mar-16 10:35am    
there is no chance to use joins in stores procedures or use stored procedures in locadb.you need to write full query
PIEBALDconsult 28-Mar-16 19:19pm    
Which is what I do anyway.
Arslan saif 28-Mar-16 10:14am    
sir please give a solution to use db with exe without install sql server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900