SQL Statements - H
SQL Statements - H
SQL Statements - H
1. The first form doesn't specify the column names where the
data will be inserted, only their values, i.e.
deletes all rows in the "Customers" table, without deleting the table.
This means that the table structure, attributes, and indexes will be intact
7. Truncate
The TRUNCATE TABLE command deletes the data inside a table, but not the table itself.
8. Altering tables
Removing a column from the Customer Table
Or
8. ALTER
• The ALTER TABLE statement is used to add, delete, or modify
columns in an existing table.
• The ALTER TABLE statement is also used to add and drop
various constraints on an existing table.