Table of Contents
The following example creates a table called "Persons" that contains five columns: PersonID, LastName, FirstName, Address, and City:
CREATE TABLE Persons (
PersonID int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
);
The DROP TABLE statement is used to drop an existing table in a database.
The following SQL statement drops the existing table "Persons":
DROP TABLE Persons;
Document in project
You can Download PDF file.