Subject | Re: Can SQL be used in two DBs |
---|---|
Author | Adam |
Post date | 2005-09-29T23:31:51Z |
--- In firebird-support@yahoogroups.com, Aage Johansen <aagjohan@o...>
wrote:
You can however span the same transaction over multiple databases, so
your client program could request the data from both databases and
internally do the join.
It would not be particularily efficient if the tables were large. If
you are trying to do some sort of replication, then there are other
ways of achieving this.
Adam
wrote:
> Carlos Ortiz Quiros wrote:Just to repeat what Aage said, No.
> > I wonder if I could use two databases, one named
> > db1.fdb and the other db2.fdb. On db1 I have table1
> > with fields field1 as int, field2 as varchar(200) and
> > the same goes for db2.
> >
> > Question is:
> > Could I write a JOIN SQL to see which records are in
> > one table that are not in the other
> > Is it possible?
>
>
> No.
>
> --
> Aage J.
You can however span the same transaction over multiple databases, so
your client program could request the data from both databases and
internally do the join.
It would not be particularily efficient if the tables were large. If
you are trying to do some sort of replication, then there are other
ways of achieving this.
Adam