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 -> user defined functions help

user defined functions help

From: Manfred Mann <manfredmann_at_excite.com>
Date: Wed, 10 Feb 1999 16:34:32 -0800
Message-ID: <36C22598.9A6529E@excite.com>


I would like to define a function in Oracle that does the following:

function divret(x,y)

if y = 0 then return 0

else

return x/y

How do I do this? Do I use stored functions? Received on Wed Feb 10 1999 - 18:34:32 CST

Original text of this message

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