![]() Previous |
![]() Next |
For the purpose of learning about Flashback Drop, you will create a new table named reg_hist and then drop it. The database places the table in the recycle bin so that it can be retrieved with the Flashback Drop feature.
To create and then drop a table:
On the Database Home page, click Schema to display the Schema subpage.
Click
Tables.
The Tables page appears.
Enter hr in the Schema field and regions in the Object Name field. Click Go.
The schema and table are listed in the table at the bottom of the page.
In the Actions list, select Create Like and click Go.
The General subpage of the Create Table page appears.
Complete the following steps:
In the Name field, enter reg_hist.
Deselect Not Null for the REGION_ID column.
Click Constraints to open the Constraints subpage.
The Constraints subpage appears.
Select each constraint and click Delete.
Click OK to create the table.
A confirmation message appears.
In the Object Name field, enter reg_hist and click Go.
The Tables page displays information about this table.
Click Delete with Options to delete the table.
The Delete With Options page appears.
Select Delete the table definition, all its data, and dependent objects (DROP), and then click Yes.
A message confirms that the table was deleted.