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, 2527🔥, 0💬
Popular Posts:
How To Use "IF ... ELSE IF ..." Statement Structures in SQL Server Transact-SQL? "IF ... ELSE IF ......
What are DDL (Data Definition Language) statements for tables in SQL Server? DDL (Data Definition La...
What Is Oracle in Oracle? Oracle is a company. Oracle is also a database server, which manages data ...
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
How To Verify Your PHP Installation in MySQL? PHP provides two execution interfaces: Command Line In...