Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Can't call Stored Function
J. Sultan wrote:
>
> So here is the next problem I ran into while working with a Oracle 7 DB:
> I've created a Stored Function to insert data into some tables.
> But when I try to execute this function which returns an integer:
> SELECT Funcname(a,b,c,d) Result FROM Dual
>
> Oracle tells me "Wrong Datatype"
> When I change the function into a stored procedure evrything works fine.
> What am I doing wrong?
There are several restrictions in using the user-defined function within your SQL statement. Please check:
--- Name : Lun Wing San Title : Oracle Application Developer of Hong Kong Productivity Council Oracle Database Administrator and System Administrator of QRC Phone : (852)27885841Received on Sun Dec 15 1996 - 00:00:00 CST
![]() |
![]() |