Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 creating database thru setup

Author  Topic 

harshal_in
Aged Yak Warrior

633 Posts

Posted - 2002-11-29 : 07:25:23
I want to create a setup file which will take the server name ,username and password from the user and create a database in the sqlserver this setup won't be run on the database server but anywhere on the internal network.
is this possible? if yes please suggest how should I go about it

thnxs in advance,
harshal.

nr
SQLTeam MVY

12543 Posts

Posted - 2002-11-29 : 08:03:46
Look at the create database command.
Just have to connect to the relevent server and execute it.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

harshal_in
Aged Yak Warrior

633 Posts

Posted - 2002-11-29 : 23:52:34
quote:

Look at the create database command.
Just have to connect to the relevent server and execute it.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.


I have created a stored procedure and it worked .
thnks ,
harshal.

Go to Top of Page
   

- Advertisement -