Write a simple Store procedure and pass parameter to it ?
Answer Posted / sanjay
Create Or Replace Procedure Test(p_Var1 In Number)
As
v_Var1 Number;
Begin
v_Var1 := p_Var1;
Dbms_Output.Put_Line(v_Var1);
Exception
When Others Then
Dbms_Output.Put_Line(Sqlerrm(Sqlcode));
End Test;
/
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is oracle a language?
What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?
How many data types are supported?
What is the difference between sharding and replication?
How to assign a tablespace to a users in oracle?
I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?
How do we represent comments in oracle?
What is pragma autonomous transaction in oracle?
Why does oracle 9i treat an empty string as null?
Can we protect our pl/sql source code?
List the various oracle database objects?
How to drop an existing table in oracle?
What is the data pump export utility?
How to drop a stored function?
Can a parameter be passed to a cursor?