CREATE/DROP DATABASE/TABLES
CREATE DATABASE. -Used to create database in Database Server.
CREATE DATABASE
database_name
database_name
CREATE DATABASE Test
command(s) completed successfully
CREATE TABLE -Used to create table in database
CREATE TABLE table_name
(Column_name_1,datatype(size),column_name_2 datatype(size))
(Column_name_1,datatype(size),column_name_2 datatype(size))
CREATE TABLE details(Id int , name varchar(20), phone varchar(10))
command(s) completed successfully
DELETE DATABASE.
DROP DATABASE
database_name
database_name
DROP DATABASE Test
Database will be deleted from Server.
Delete Table
DROP TABLE
table_name
table_name
DROP TABLE Detail
CREATE/DROP DATABASE/TABLES
Reviewed by vishal
on
August 03, 2017
Rating:
No comments