Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: pl/sql function

Re: pl/sql function

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Sun, 21 Jul 2002 15:11:49 +0200
Message-ID: <ujlg0aal0dhbaf@corp.supernews.com>

"Peter" <depend3_at_yahoo.com> wrote in message news:bjy_8.20770$8o4.2513_at_afrodite.telenet-ops.be...
> Is it possible to return two values when you write a function without
> concat? If yes, how do you do this?
> Thanks.
>
>

By design a function can only return one single value. That's why it is a function, otherwise you would need to use a procedure. Functions can return values using composite types, provided the type has been defined before. This is all outlined in the pl/sql reference manuals.

Hth

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Sun Jul 21 2002 - 08:11:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US