can we use out parameter in a function?Give an example.

Answers were Sorted based on User's Feedback



can we use out parameter in a function?Give an example...

Answer / parivesh sinha

yes.

create or replace function p_tst (v_p out varchar2) return
varchar as
v_g varchar2(50);
begin
select ENAME2 into v_p from emp where empno='11';
return v_p;
end;

Is This Answer Correct ?    18 Yes 5 No

can we use out parameter in a function?Give an example...

Answer / sanket

Actual parameter:Actual parameter is a parameter which are
actually pass to the procedure or function.
Formal parameter:Formal parameter is a parameter which we
are defining while declaring procedure.

Is This Answer Correct ?    4 Yes 3 No

can we use out parameter in a function?Give an example...

Answer / mahesh

wht is actaul and formal parameters and wht is the main
difference
can any one knows this answer kindly inform me

Is This Answer Correct ?    2 Yes 3 No

can we use out parameter in a function?Give an example...

Answer / friend

Actual parameter:these are the parameters where we use in
exection of a procedure
Formal parameter:these are the parameters where we use as
in and out parameters

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More SQL PLSQL Interview Questions

what is External tables? explain with examples

2 Answers   TCS,


how can we destroy the cookie? : Sql dba

0 Answers  


Is merge a dml statement?

0 Answers  


How do you update a value in sql?

0 Answers  


What is pl/sql language case sensitive?

0 Answers  


What is record in pl sql?

0 Answers  


How are functions and procedures called in PL/SQL?

0 Answers  


write a query to display diference between two dates in sql server

2 Answers  


What is sql basics?

0 Answers  


what is the difference between union and union all

14 Answers   IBM, Luxoft, Oracle,


What is fmtonly in sql?

0 Answers  


what is 'force view'?

3 Answers   Cap Gemini, SPIC,


Categories