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 to enter characters as hex numbers? : Sql dba
What is the use of stored procedures?
What are the advantages of sql? Explain
What is type and rowtype in pl sql?
Does mysql_real_escape_string prevent sql injection?
What is the difference between a procedure and a function?
Is sql a programming?
How show all rows in sql?
What is an oracle stored procedure?
What is substitution variable in pl sql?
Explain normalization and what are the advantages of it?
Explain the methods used to protect source code of pl/sql.
Are subqueries faster than joins?
Is sqlite thread safe?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc