Collections:
Drop an Existing Table 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.
⇒ Add a New Column to an Existing Table in Oracle
⇐ Rename an Existing Table in Oracle
2019-05-25, 2622🔥, 0💬
Popular Posts:
How To Install Oracle Database 10g XE in Oracle? To install 10g universal edition, double click, Ora...
How to download and install Microsoft .NET Framework Version 2.0 in SQL Server? .NET Framework Versi...
How To Create a Stored Program Unit in Oracle? If you want to create a stored program unit, you can ...
How to set the current database in SQL Server? Once you are connected to the SQL Server, you should ...
How To Convert Characters to Numbers in Oracle? You can convert characters to numbers by using the T...