Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: External Procedures: Embedded SQL and OCI callbacks both possible?
Sorry Stewart, I don't have an answer to your problem, I just want to
defend what you are trying to do from a professional standpoint.
From what I understand, the bottom line of what you are trying to do is along the lines of being able to call a "pretty complicated Pro*C routine" from PL/SQL. As I see it you have three bad options:
As a professional software developer I certainly understand why you are interested in the third approach.
Tom
Ps. In the long run, I recommend you place all database code into PL/SQL packages and create well defined interfaces (public procedure/functions) to access the code. This has the benefit that you can call the code from a number of different types of clients: OCI, JDBC, ODBC etc.
"Paul Brewer" <paul_at_paul.brewers.org.uk> wrote:
> I agree entirely with Sybrand. Unless I've misunderstood, you're using the
> database to go out to an external procedure, which will then connect back to
> the database to work out its return, then pass that return back to the
> database calling routine.
>
> IMHO, this is not a sensible way to go about things.
Received on Sun Jul 21 2002 - 12:42:21 CDT