Subject | Re: [IBO] multiple databases |
---|---|
Author | Geoff Worboys |
Post date | 2001-01-15T12:31:19Z |
> Embedded SQL Guide Chapter 3 "Working with Databases"Embedded SQL is talking about writing applications using gpre and
C/C++.
> so I assumed Interbase did support cross-database joinsInterbase does not provide direct support, it only provides indirect
> too. I guess I was wrong.
support via two-phase transaction commit facilities. It is upto the
client application to implement the capabilities using the transaction
facilities. gpre supports the Embedded SQL syntax described in the
manual you mentioned, allowing you to specify SQL which can be parsed
through gpre and then linked to the application.
(I think thats right, I've never actually done it myself.)
> I'm possibly going to use a table from a third-party databaseObviously you will never get server managed referential integrity
> and some tables from my own database. Ability to run select
> statements joining the tables and some kind of referential
> integrity would be nice. What's the best strategy?
while using different database types. It must always be upto the
client to handle it. Since you are using different database types
then any "joining" you do at the client (such as using master/detail
facilities like I described) would need to use TDataset based
components (TIBOQuery etc). You will have to implement cascaded
updates and deletes and other cross-database referential constraints
in your client code.
> I could use some kind of replication to be able to workGoto: http://www.interbase2000.org/ib_ReallyUseful.htm
> with my database only but I'm not sure if this is the best
> way. Any ideas greatly appreciated.
And find the link for "Some Solutions to Old Problems" by Dalton
Calford. His article discusses solutions for implementing replication
using Interbase.
HTH
Geoff Worboys
Telesis Computing