How to Create a Database?
There are two ways to create a database
(i) With SQL Command
(ii)Without SQL Command
So, let's go with First way
(i) Create Database using SQL Command:-
Syntax:-
Create Database DatabaseName
Example:-
Create Database Vijay
(ii) Without SQL Command:-
Step 1:-Open your SQL Server.
Step 2:- Open Object Explorer.
Step 3:- Right-click on database. Select New Database.
Step 4:- Enter your database Name.
Step 5:- Click ok.
There are two ways to create a database
(i) With SQL Command
(ii)Without SQL Command
So, let's go with First way
(i) Create Database using SQL Command:-
Syntax:-
Create Database DatabaseName
Example:-
Create Database Vijay
(ii) Without SQL Command:-
Step 1:-Open your SQL Server.
Step 2:- Open Object Explorer.
Step 3:- Right-click on database. Select New Database.
Step 4:- Enter your database Name.
Step 5:- Click ok.