Create Database in SQL

If you would like to form a new database, then the CREATE DATABASE statement would be as shown below −
CREATE DATABASE (sqltest) DatabaseName;

Drop Database in SQL

If you like to delete an existing database, then the DROP DATABASE statement would be as shown below −

Drop database sqltest;
Be careful before drop the database. It lead to loss of complete data hold on within the info.

LEAVE A REPLY

Please enter your comment!
Please enter your name here