oracle - Catch a PL/SQL procedure's RETURN value in command prompt? -


currently i'm using

%testvar%=sqlplus usr/password@schema @test.sql echo %testvar% 

where test.sql calls procedure using begin end block , , saves returned value in string variable named x , how return command prompt ?

a procedure can return value through out parameter, function can return value can stored in variable. not sure how trying return value through procedure seems trying work better if had written function.


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -