Question: Dropping a Table All data and structure in the table are deleted. Any pending transactions are committed. All indexes are dropped. All constraints are dropped.
Dropping a Table
All data and structure in the table are deleted.
Any pending transactions are committed.
All indexes are dropped.
All constraints are dropped.
You cannot roll back the DROP TABLE statement.
DROP TABLE dept;
Lab Exercise :
Q
Create the following tables.
Table name colleges
tableFiled Name,Data type,Size,NoteCollnoNumber,Primary keycollname,VARCHARemailVARCHARPhoneNumber,Location
Q add new column to the colleges table:
Column name address varchar
Q Change the size of collname from to
Q Remove the column name location
QAdd new constraint to colleges table unique to email
Prepared by Soad Mohammed
lab
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
