Oracle Database Developer Question:

Download Job Interview Questions and Answers PDF

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

Oracle Database Developer Interview Question
Oracle Database Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How you run SQL Commands in SQL*Plus?How you change SQL*Plus System Settings?