|
-
Feb 3rd, 2008, 08:33 PM
#1
Thread Starter
Frenzied Member
[2008] How does this work (installing app with SQL Database?)
Ok, I want to know how this works, I have a database in VS (several), now what happens when I build, and install my application via a project installer, do those databases get installed? or do I have to actually manually create the database in code, so it is created when my app is installed to someone's computer.
Thanks
-
Feb 3rd, 2008, 08:35 PM
#2
Re: [2008] How does this work (installing app with SQL Database?)
If you've added an MDF file to your project and you're attaching that to SQL Server Express at run time then you just distribute the MDF.
If you have actually created a database in SQL Server then it's up to you to build that database when you install.
-
Feb 3rd, 2008, 09:00 PM
#3
Thread Starter
Frenzied Member
Re: [2008] How does this work (installing app with SQL Database?)
So, I need to create the database via code...
How would one check if a database exists, I saw nothing about that in my SQL tutorial.
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|