Subject | Re: [firebird-support] How to create the link to retrieve data from 10g into Fb 2.1 |
---|---|
Author | Doug Chamberlin |
Post date | 2009-06-25T12:45:45Z |
Carrell Alex wrote:
suggest you drop this approach and try something else entirely.
> I have in the long past played with Oracle Call Interface (OCI) a lot. The are a variety of wrappers for it, that make OCI very friendly to use. I would write a C/C++ user defined function(UDF) and call it in the Stored procedure.A complete misuse of the UDF concept, design and implementation. I
> This would work on both Windows and Unix/Linux. It would be fast, quick, OCI offers good error catching as well.
> I would create one UDF to handle the connection to oracle, per firebird connection, then create further libraries that perform the differing queries to Oracle.
>
> You could of course simply write user defined functions in Pascal or Python as well that use some connection to oracle. Oracle on Windows has good Java and Delphi interfaces.
>
> I believe that any resulting connection in a UDF would be complex, an error in it may cause FB to have issues if it fails, that may take the FB database down. Hence the thought of sub libraries for each differing query, so that different parts of the library can be changed more easily.
suggest you drop this approach and try something else entirely.