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

Home -> Community -> Usenet -> c.d.o.tools -> Function Update Table

Function Update Table

From: Algis <algis_at_go2.pl>
Date: 17 Feb 2001 11:39:06 GMT
Message-ID: <904B86027algisgo2pl@213.25.200.9>

Hi

Is it possible to update table calling function from SELECT

SELECT function_name FROM DUAL;

where Function my be:

Function
...
Begin
UPDATE table_name SET column_name = 1234;

Return result_name;
End function_name;

It returns only DML error;

I have (tried) tested it with PROCEDURE calling it : EXECEUTE procedure_name;

and it worked corret but I need FUNCTION

Please help me
I need to know is it possible or not?

Thanks for help
Algis Received on Sat Feb 17 2001 - 05:39:06 CST

Original text of this message

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