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, 2319🔥, 0💬
Popular Posts:
How To Get the Definition of a User Defined Function Back in SQL Server Transact-SQL? If you want ge...
How to put statements into a statement block in SQL Server Transact-SQL? You can put statements into...
What Happens If the UPDATE Subquery Returns Multiple Rows in SQL Server? If a subquery is used in a ...
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...
What Is Oracle in Oracle? Oracle is a company. Oracle is also a database server, which manages data ...