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
How to rename an existing table?
How to compare dates in oracle sql?
Difference between inner join vs where ?
What is where clause in oracle?
What is Redo Log Buffer in Oracle?
How to use select statement to count the number of rows in oracle?
How to view all columns in an existing table?
Explain the use of rows option in exp command.
What is a static data dictionary in oracle?
How to loop through a cursor variable?
What is the relationship among database, tablespace and data file?
How do we get field details of a table?
What is meant by raw datatype?
Write a trigger example in oracle?
How to resolve the ORA-39133 error in Oracle?