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
 SQL Server Administration (2000)
 how do i create a Database using a Stored procedure ?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-12-10 : 08:27:39
Krishna vardhan writes "Dear Team
How do i create a Database using a Stored procedure ?
is there any script by which i can create a database and users for the database.

Regards
Krishna vardhan"

mr_mist
Grunnio

1870 Posts

Posted - 2003-12-10 : 09:00:51
Look up CREATE DATABASE in bol.



-------
Moo. :)
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-12-10 : 12:15:46
Why do you want to do this in a stored procedure?

I suspect that the answer is that Krishna wants to be able to dynamically create databases on the fly. Why do people design applications this way?

Tara
Go to Top of Page
   

- Advertisement -