Collections:
in Oracle
How To Delete All Rows from a Table in Oracle?
✍: FYIcenter.com
If you want to delete all rows from a table, you have two options:
The TRUNCATE statement is more efficient the DELETE statement. The tutorial exercise shows you a good example of TRUNCATE statement:
SELECT COUNT(*) FROM fyi_links;
COUNT(*)
----------
3
TRUNCATE TABLE fyi_links;
Table truncated.
SELECT COUNT(*) FROM fyi_links;
COUNT(*)
----------
0
⇒ Understanding SQL SELECT Query Statements in Oracle
⇐ Delete Multiple Rows from a Table in Oracle
2020-01-04, 2837🔥, 0💬
Popular Posts:
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
How To Drop an Index in Oracle? If you don't need an existing index any more, you should delete it w...
How To Get Help Information from the Server in MySQL? While you are at the "mysql>" prompt, y...
How To Select All Columns of All Rows from a Table in Oracle? The simplest query statement is the on...
How to detect the collation coercibility associated to a given character string using the COERCIBILI...