Collections:
DROP TABLE Statement in Oracle
How To Drop an Existing Table in Oracle?
✍: FYIcenter.com
If you want to delete an existing table and its data rows, you can use the DROP TABLE statement as shown in this script:
SQL> connect HR/fyicenter Connected. SQL> CREATE TABLE emp_dept_10 2 AS SELECT * FROM employees WHERE department_id=10; Table created. SQL> DROP TABLE emp_dept_10; Table dropped.
Be careful, when you use the DROP TABLE statement. All data rows are gone too.
⇒ CREATE INDEX - Create a Table Index in Oracle
⇐ ALTER TABLE - Delete a Column in Oracle
2020-02-20, 2515🔥, 0💬
Popular Posts:
How To Change the Password for Your Own User Account in MySQL? If you want to change the password of...
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
How To List All User Names in a Database in SQL Server? If you want to see a list of all user names ...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...