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 difference between CHAR and VARCHAR2?What is the maximum SIZE allowed for each type?

6 Answers   Saama Tech,


how to use like conditions? : Sql dba

0 Answers  


What are variables in pl sql?

0 Answers  


Which is better stored procedure or query?

0 Answers  


Explain the insert into statements in sql?

0 Answers  


What is dense_rank?

0 Answers  


how can we repair a mysql table? : Sql dba

0 Answers  


Mention what are the benefits of pl/sql packages?

0 Answers  


What is difference between my sql and sql?

0 Answers  


What is the difference between inner join and left join?

0 Answers  


what is the difference between inner and outer join? Explain with example. : Sql dba

0 Answers  


Why do we need pl sql?

0 Answers  


Categories