Collections:
Cannot Use DDL Statements in PL/SQL in Oracle
Can DDL Statements Be Used in PL/SQL in Oracle?
✍: FYIcenter.com
No, you can not run any DDL statements is PL/SQL directly. If you try to use the DROP TABLE statement inside PL/SQL, you will get a compilation error as shown below:
(Connect to XE with SQL*Plus) BEGIN DROP TABLE student; -- compilation error END; /
⇒ Use Variables in SQL Statements in Oracle
⇐ Use DML Statements in PL/SQL in Oracle
2018-10-13, 3456🔥, 0💬
Popular Posts:
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...
What Is Transport Network Substrate (TNS) in Oracle? TNS, Transport Network Substrate, is a foundati...
How to continue to the next iteration of a WHILE loop in SQL Server Transact-SQL? How to use CONTINU...
What Happens to the Current Transaction If a DDL Statement Is Executed in Oracle? If a DDL statement...
How To Concatenate Two Character Strings Together in SQL Server Transact-SQL? Concatenating two char...