Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Function and Insertstatement
Hello,
Can someone tell me if it is possible to use a INSERT statement in a
Function. When I use the INSERT statement I become next failure when I
run the function.
ORA-06571: Function GETCLIENTID does not guarantee not to update
database.
The reason that I use a Function is that I want to return a ID which I
use.
I know that I also can declare a procedure whith an IN OUT argument but
I thought that a Function was easyer to use.
Thanks and regards Dirk Received on Thu Nov 18 1999 - 04:23:34 CST