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, 2828🔥, 0💬
Popular Posts:
How to connect SQL Server Management Studio Express to SQL Server 2005 Express in SQL Server? Once y...
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
Where to find answers to frequently asked questions on Transaction Management: Commit or Rollback in...
Where to find answers to frequently asked questions on INSERT, UPDATE and DELETE Statements in MySQL...