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

Why do we need databases?

0 Answers  


what is msql? : Sql dba

0 Answers  


Which are the different character-manipulation functions in sql?

0 Answers  


What is pl sql architecture?

0 Answers  


create a store procedure and created synonms for that store procedure after modify that store procedure will effect on synonms? If we delete the store procedure what happened to that synonms?

2 Answers   Polaris,






Does sql*plus also have a pl/sql engine?

0 Answers  


What is compound trigger?

0 Answers  


when is the use of update_statistics command? : Sql dba

0 Answers  


Is a secondary key the same as a foreign key?

0 Answers  


What is Difference Between Unique and Primary Key Constraints?

0 Answers   Wipro,


How do I create an index in word?

0 Answers  


What are the different types of database management systems?

0 Answers  


Categories