Click here to Skip to main content
14,698,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a desktop application which database is in sql server 2008 R2.
When i want to run this application on another computer i have to install SQL server 2008.
Is there any option which help help me to avoid installation of Sql server.
at the time of installing the application a lighter version of sql installed on that system; so that i dont have to install sql server individually.

waiting for an affirmative answer.
Thanks in advance.
Posted
Comments
Mehdi Gholam 17-Nov-11 2:59am
   
Just check if a SQL Server exists on that system and create your database in that.

1 solution

Depending on whether you want your application to be network capable, you could use an embedded database, such as SQL Server CE[^], or SQLite[^].

Hope this helps
   
Comments
RaviRanjanKr 17-Nov-11 3:08am
   
Nice Answer, My 5!
Wayne Gaylard 17-Nov-11 3:15am
   
Thanks!
Reiss 17-Nov-11 3:27am
   
could answer and links +5
Wayne Gaylard 17-Nov-11 3:35am
   
Thanks!
sahabiswarup 17-Nov-11 4:45am
   
i have already created my database in SQL Server 2008 R2; can you please tell me what should i do if i want to use SQLite
Wayne Gaylard 17-Nov-11 4:58am
   
There is a good tutorial for using SQLite with .Net here http://www.mikeduncan.com/sqlite-on-dotnet-in-3-mins/
sahabiswarup 17-Nov-11 5:00am
   
thanks you very much...
Wayne Gaylard 17-Nov-11 5:06am
   
No worries - glad I could help :)

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