To create a new Database in SQL, we have to use followed statement.
CREATE DATABASE <DATABASE_NAME>
If you want to create database as TestDB , use below statement :
CREATE DATABASE TestDB
Once Database is created, You can check in list of databases by using below Statement.
Below statement lists all database in SQL Server.
SELECT NAME FROM MASTER.SYS.DATABASES
ORDER BY NAME
This is also way to check database list in SQL Server.
If Database does not appear in Object explorer , you can click on refresh button or press F5 to show all database in list.
In this Article, you have learned how to create New database using CREATE DATABASE STATEMENT.
Read the Next How to DROP DATABASE.
If you want to sell your readymade software to the genuine clients or businessman, list your software with details and demo links.
Clients will find it using our advanced search filter and will contact you directly.
No any charge for the product lsiting.