views:

47

answers:

1

Hi,

I'm using oracle sql developer, or oracle sqlplus.

Thank,

Mattan

+4  A: 

In SQL Plus you can do this:

var x number
exec :x := myfunction();

Or you may be able to use SQL:

select myfunction() from dual;
Tony Andrews
I can't select because I have an update statement inside the sql function. The exec... works. Thanks!
Mattan