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

Home -> Community -> Usenet -> c.d.o.server -> Re: sequences, Ole and "invalid table name"

Re: sequences, Ole and "invalid table name"

From: <sybrandb_at_gmail.com>
Date: Sat, 21 Jul 2007 10:36:54 +0200
Message-ID: <eah3a39gmrgqprk51od6nob6m18bk8ic6d@4ax.com>


On Fri, 20 Jul 2007 14:26:10 -0700, codefragment_at_googlemail.com wrote:

>> If so, one could one be lucky by wrapping the select nextval in a
>> function and selection that from dual?
>
>Tried that, after a few attempts it seems that I also can't call a
>function via OleDb which at least adds more info to the problem.
>I saw this on a web site
>
>"Oracle Provider for OLE DB allows consumers to execute a PL/SQL
>stored procedure with an argument of REF CURSOR type or a stored
>function returning a REF CURSOR"
>
>Now the obvious interpretation of that is that my function needs to
>return a ref cursor which it doesn't, but I'm a novice and its late
>and I'm sleepy so I'm going to find out how to do that tomorrow :-)

Please have a look at
http://www.oracle.com/technology/sample_code/tech/windows/ole_db/index.html

Please also note the Oledb Tutorial on the right side of that page.

Hth

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Sat Jul 21 2007 - 03:36:54 CDT

Original text of this message

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