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 |
What found sql?
Explain uses of cursor.
How many functions are there in sql?
what is the different between unique+not null & primary key,
how to do backup entire database? : Transact sql
What are sql data types?
i have a table emp and columns ename,empno,mgr_id,i need ename,manager name as result i.e employee respective manager.. example empno ename mgr_id 1 john 3 2 paul 3 3 smith 1 4 kevin 1 5 stewart 2 result has to look like this ename manager john smith paul smith smith john kevin john stewart paul can u plz help me out in this.....
how to get second highest salary in SQL(as/4000
How to change sql*plus system settings?
Can a procedure in a package be overloaded?
how can you create an empty table from an existing table? : Sql dba
What is a natural join?