a procedure one in two out parameters i am waiting it in a
sql query can i get the output
Answer Posted / aurobinda
yes ,we can
create or replace procedure (v_empno in emp.empno%
type,v_ename out emp.ename%type,v_sal out emp.sal%type)
is
begin
select ename,sal into v_ename,v_sal from emp
where empno =v_empno);
dbms_output.put_line(v_ename||' '||v_sal);
end;
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
how can you see all indexes defined for a table? : Sql dba
Explain the difference between drop and truncate commands in sql?
Is a view faster than a stored procedure?
What is example of database?
How do you rank data in sql?
Is sql developer case sensitive?
What is an inner join sql?
What is a join query?
How to revise and re-run the last sql command?
how to calculate the difference between two dates? : Sql dba
How do you optimize a stored procedure in sql?
how to get @@error and @@rowcount at the same time? : Sql dba
How do I edit a trigger in sql developer?
What is the default isolation level in sql server? : Transact sql
what are the advantages of sql ? : Sql dba