|
-
Nov 6th, 2002, 10:17 PM
#1
Thread Starter
PowerPoster
Creating an SQL SERVER DB on a remote computer
OK i have this app i want to distribute that uses an SQL Server DB. THe users already have SQL Server on thier machine. Once this app is installed on the users machine how i do create a DB in the SQL server?
Thanks!
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Nov 7th, 2002, 02:17 AM
#2
Thread Starter
PowerPoster
Neeeed help. Thanks!
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Nov 7th, 2002, 04:43 AM
#3
Lively Member
Create the database locally and then use enterprise manager to generate the script in one file for creating the database and all objects.
Then distribute this script with your exe and in the installation use a program that comes with SQL Server called ISQL to run the script.
Usually : -
C:\MSSQL7\BINN\ISQL.exe -i <script name>
Hope that helps.
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
|