can we use out parameter in a function?Give an example.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What is the purpose of using pl/sql?
Is join same as left join?
what is the difference between clustered and non clustered index in sql? : Sql dba
How to load data with sql*loader?
Is left join same as join?
What is primary key in db?
What is a mutating table
what is Difference between Having and Where clause?
How to get the 3rd column(i.e all the data along with the column name)in a table?
IF EMP HAS 2 ROWS,DEPT HAS 4 ROWS.WHATS THE RESULT OF SELECT * FROM EMP,DEPT;
Use The Implicit cursor to Query The Department table information Where Deptno is 30.check,if no record was found then print "Record Was Not Found".Else Print Deptname And Ename.Dept table Have Dname Varchar2(20),Deptno Number,EnameVarchar2(20).Please Answer In 2 mins,with in Maximum 15 lines.
How exception handling is done in advance pl/sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)