Subject | Re: [firebird-support] using multiple databases |
---|---|
Author | Ann W. Harrison |
Post date | 2005-02-26T17:28:38Z |
Daniel Rail wrote:
databases in nested statements, like this:
FOR X IN DB1.table1
BEGIN
FOR Y DB2.table1 WITH Y.field1 = X.field1
BEGIN
<do whatever to either table>
END
END
What it doesn't do is real joins. The problem isn't aliases, which is
easy, but query decomposition and optimization.
Regards,
Ann
>Actually, GDML does use database aliases, and can use different
> I also agree that this feature will be useful. Because Firebird
> didn't use use DB aliases, like Sybase does, it probably would've been
> hard to implement.
databases in nested statements, like this:
FOR X IN DB1.table1
BEGIN
FOR Y DB2.table1 WITH Y.field1 = X.field1
BEGIN
<do whatever to either table>
END
END
What it doesn't do is real joins. The problem isn't aliases, which is
easy, but query decomposition and optimization.
Regards,
Ann