a procedure one in two out parameters i am waiting it in a
sql query can i get the output
Answer / 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 |
Explain the difference between 'between' & 'and' operators in sql
What is error ora-12154: tns:could not resolve the connect identifier specified?
difference between table level constraint and column level and advantages of table level constraint
what are the advantages of package?
Does pl sql work in mysql?
what are the differences among these table level lock modes - IN SHARE MODE, IN SHARE UPDATE MODE, IN EXCLUSIVE MODE ?
What is scope of pl sql developer in future?
what is the use of double ampersand (&&) in sql queries?
What are the two types of exceptions in pl/sql?
How do you clear the screen in sql?
What is Pragma EXECPTION_INIT ? Explain the usage ?
Why do we use function in pl sql?