Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Functions

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can Oracle functions return more than one parameter? If so what is the syntax? To return one parameter the syntax is:
Function name
(x number) return number is
y number;
body of function here
return y;
end name;


Please advise.
 
If you wish to use more than one out parameter, use a Procedure. I love everyone til they prove otherwise, sadly some prove otherwise SO quickly
 
Use procedure with out parameters or function returning "composite" type (object, pl/sql table ...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top