How to Create database in SQL Server using Javascript & HTML?


  • Hello,

    I want to create database on SQL Server using Javascript and HTML. User will input following data. Server Name, Database name, File Sizes. When I will click "Submit" button database should be created on Selected server with entered name. I am using Client side HTML and Javascript. Quick response will be appreciated.we need to create database according to some standards thus we are preparing graphical user interface.

    Thanks, Rahul

    • Moved by Bob BeaucheminEditor Tuesday, October 27, 2009 5:27 PM Moved to a more appropriate group (From:.NET Framework inside SQL Server)
    Tuesday, October 27, 2009 1:33 PM


  • While yes it is possible to develop a SERVER-SIDE script that could create a database, e.g. ASP, PHP, but you cannot use JavaScript or HTML alone to accomplish this task.
    Tuesday, October 27, 2009 9:42 PM