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
 General SQL Server Forums
 New to SQL Server Programming
 How to automate DB creation in MSSQL

Author  Topic 

wrenickm
Starting Member

1 Post

Posted - 2014-01-28 : 11:03:37
Hi,
I want to create a form (Infopath) or web page where the user can request for a new database
I want the user to fill in the required info (like the size, name columns.....) and ones they're done filling the required info, they will click on a button and that should trigger the database automation script to run and if the database with the requested name is not created, the script should create a database for the user
Please let me know
Thanks in advance

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2014-01-29 : 04:22:05
what you need at sql end is a stored procedure with some parameters to reciev values from the form and use it to create database and objects
see
https://support.microsoft.com/kb/827007/en-us

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -