
Is it possible to call an Oracle7 stored procedure from VB?
Quote:
> As above, is it possible to call an oracle 7 stored procedure from VB?
> I've tried various syntax, but cannot seem to get it to happen. If so,
> could you please show an example? I'm trying to use db.execute or
> db.executeSQL and the passthrough option... It has been suggested that a
> workaround would be to have a 'dummy' table on the oracle side and use a
> before insert trigger to call the procedure, which would likely do the
> trick, but is there a straightforward way to do it?
This is exactly the same problem I have got except that I tried the trigger
method as well, only to find that although it works, you cannot have transactions
in a stored procedure that has been invoked via a trigger (directly or indirectly).
This is actually documented as a restriction. So I'm back where I started.
I want to use stored procedures from VB precisely because I need transactions
and it seems that procedures are the only way to get them. If you make any progress
on this, please let us all know. Similarly, if I make any progress I will post to this
newsgroup.
--
Andrew Marlow
APM Software Ltd
20 Queen Alexandra Road, Bedford, England