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, 2272🔥, 0💬
Popular Posts:
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
How AdventureWorksLT tables are related in SQL Server? There are 12 user tables defined in Adventure...
How To Convert Binary Strings into Hexadecimal Character Strings in SQL Server? When a query returns...
How To View Data Files in the Current Database in Oracle? If you want to get a list of all tablespac...
Where to find answers to frequently asked questions on Managing Security, Login and User in SQL Serv...