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
explain mysql aggregate functions. : Sql dba
What is the difference between cluster and non-cluster index?
What is a full join sql?
Does sql*plus also have a pl/sql engine?
What does <> sql mean?
What is difference between cursor and trigger?
How do I find sql profiler?
how to escape special characters in sql statements? : Sql dba
what is the command used to fetch first 5 characters of the string? : Sql dba
What is secondary key?
Can %notfound return null after a fetch?
what are the limitations of identity column? : Transact sql
what is a tablespace? : Sql dba
What do we need to check in database testing?
Is inner join same as self join?