Link to home
Start Free TrialLog in
Avatar of mash79
mash79

asked on

supress PL/SQL procedure completed ... Return value from sql plus

Hi,
 I want to return a value from a oracle stored procedure.

 VALUE=` ${ORACLE_HOME}/bin/sqlplus -s   <<-EOF
                ${ORA_USER}/${ORA_PASSWORD}
                @${SQL_SCRIPT}
        EOF`

        echo $VALUE


I am doing the above, however $VALUE always contains "PL/SQL procedure completed successfully". Is there anyway to supress that last bit? and just return the actual value.
ASKER CERTIFIED SOLUTION
Avatar of sunnycoder
sunnycoder
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mash79
mash79

ASKER

Thanks.
That way worked.

Is there any way that can actually supress it from sqlplus?
sorry, dont know about that
Avatar of mash79

ASKER

FYI:

set FEEDBACK OFF;

will do it

Thanks all the same.