MLGCollegeofLearning
38 views
8 slides
Nov 23, 2020
Slide 1 of 8
1
2
3
4
5
6
7
8
About This Presentation
The CREATE DATABASE statement is used to create a new SQL database.
Size: 233.93 KB
Language: en
Added: Nov 23, 2020
Slides: 8 pages
Slide Content
SQL CREATE DATABASE Statement AND SQL DROP DATABASE Statement DATABASE SYSTEM 2 ANGELO T. RETITA IT-INSTRUCTOR
Objectives 1. Will be able to understand the SQL CREATE DATABASE Statement. 2. Will be able to determine the syntax of SQL CREATE DATABASE Statement. 3. Will be able to understand the SQL DROP DATABASE Statement. 4. Will be able to determined the syntax of SQL DROP DATABASE Statement.
SQL CREATE DATABASE Statement The CREATE DATABASE statement is used to create a new SQL database.
Syntax CREATE DATABASE databasename ;
CREATE DATABASE Example CREATE DATABASE testDB ; Databases Before Databases After
SQL DROP DATABASE Statement The DROP DATABASE statement is used to drop an existing SQL database.
Syntax DROP DATABASE databasename ; Note: Be careful before dropping a database. Deleting a database will result in loss of complete information stored in the database!
DROP DATABASE Example The following SQL statement drops the existing database " testDB ": DROP DATABASE testDB ; Databases Before Databases After