Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How does one create a database programmatically in mysql
Posted

1 solution

The exact same way you create it using a designer. One of the specifications for an SQL Server is that it is managed using SQL commands, including setting up a new database, constructing tables, indexing, ... everything. SQL Servers are normally managed using, well, SQL.

So, you start with executing a properly crafted CREATE DATABASE[^] command.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900