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, 1778🔥, 0💬
Popular Posts:
How To Use SQL*Plus Built-in Timers in Oracle? If you don't have a stopwatch/timer and want to measu...
How To Replace Given Values with NULL using NULLIF() in SQL Server Transact-SQL? Sometime you want t...
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
How To Verify Your PHP Installation in MySQL? PHP provides two execution interfaces: Command Line In...
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...