how do u call in & out parameters for stored procedures?
Answer Posted / madhav
create or replace procedure proc_in_out
(p_empno in number,p_ename out varchar2)
as
begin
.......
.......
end;
execute proc_in_out(7369,p_ename)--out parameter can't
like this
declare
v_ename varchar2(10);
begin
proc_in_out(7369,v_ename);
end;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what is a field in a database and record in a database?
What are synonyms in sql?
What is sqlcommand?
Is sql better than access?
How do I trace sql profiler?
what are the differences between require and include, include_once and require_once? : Sql dba
How to set up sql*plus output format in oracle?
what is the difference between delete and truncate commands? : Sql dba
How do you optimize a stored procedure query?
What will you get by the cursor attribute sql%found?
What is dba in sql? : SQL DBA
Is json a nosql?
How can you know that statistics should be updated?
What is offset in sql query?
how can you see all indexes defined for a table? : Sql dba