Oracle Database Developer Question:

How you Run PL/SQL Statements in SQL*Plus?

Tweet Share WhatsApp

Answer:

If you want to run a single PL/SQL statement in SQL*Plus, you need to use the EXECUTE command as shown in the following tutorial example:

SQL> SET SERVEROUTPUT ON

SQL> EXECUTE DBMS_OUTPUT.PUT_LINE('Welcome to globalguideline!')
Welcome to globalguideline!

PL/SQL procedure successfully completed.

Download Oracle Database Developer PDF Read All 57 Oracle Database Developer Questions
Previous QuestionNext Question
How you run SQL Commands in SQL*Plus?How you change SQL*Plus System Settings?