.... becoz of the fact that out parameters are write only ... we only can assign values to out parameters but we can't assign out parameters value to any variable inside the procedure or function....but in my case I had created a simple procedure and used out parameters in it let give me the example of the code first ....>create or replace procedure test_out_parameter(out_parameter out number) isv_temp number;beginv_temp := out_parameter;out_parameter :=10 ;dbms_output.put_line (out_parameter);end ;here i read the value of out parameter (out_parameter) in the variable v_temp but this procedure was created sucessfully and throws no error..... and also run sucessfully with no error or warnings... i want to know where i m doing the mistake ...thanks
Questions by lalit4untl answers by lalit4untl
Showing Answers 1 - 3 of 3 Answers
.... becoz of the fact that out parameters are write only ... we only can assign values to out parameters but we can't assign out parameters value to any variable inside the procedure or function....but in my case I had created a simple procedure and used out parameters in it let give me the example of the code first ....>create or replace procedure test_out_parameter(out_parameter out number) isv_temp number;beginv_temp := out_parameter;out_parameter :=10 ;dbms_output.put_line (out_parameter);end ;here i read the value of out parameter (out_parameter) in the variable v_temp but this procedure was created sucessfully and throws no error..... and also run sucessfully with no error or warnings... i want to know where i m doing the mistake ...thanks
Profile Answers by lalit4untl Questions by lalit4untl
Questions by lalit4untl answers by lalit4untl