I\'m trying to execute a script on SQL PLus, it\'s simple.
SET serveroutput ON; DECLARE mode NUMBER(1) := 1; IF (mode = 1) THEN prompt \'HERE\' EN
Go to your oracle home Oracle\product\\client_2\sqlplus\admin\glogin.sql and add the following lines to enable printing globally,
Oracle\product\\client_2\sqlplus\admin\glogin.sql
SET ECHO ON; SET TERM ON; WHENEVER SQLERROR EXIT FAILURE ROLLBACK; SET DEFINE OFF;