Truncating a Table
You truncate a table using the TRUNCATE
statement.
This removes all the rows from a table and resets the storage area for a table.
SQL> TRUNCATE TABLE new_employee;
Table truncated.
SQL>
Home »
Oracle »
Table »
Oracle »
Table »
Table Creation:
- Creating a Table
- Getting Information on Tables
- Information on Columns in Tables
- Renaming a Table
- Truncating a Table
- Dropping a Table
Related: