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 dept80;
Lab Exercise 3:
Q1
Create the following tables.
Table name colleges
\table[[Filed Name,Data type,Size,Note],[Coll_no,Number,4,Primary key],[coll_name,VARCHAR2,20,],[email,VARCHAR2,20,],[Phone,Number,10,],[Location,,,]]
Q2 add new column to the colleges table:
Column name address varchar2(50).
Q3 Change the size of coll_name from 20 to 30
Q4 Remove the column name location
Q5Add new constraint to colleges table unique to email .
10
Prepared by Soad Mohammed
lab4
 Dropping a Table All data and structure in the table are

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!