Subject | RE: [firebird-tools] GPRE |
---|---|
Author | Paul Beach |
Post date | 2005-05-25T07:48:50Z |
> EXEC SQL SET DATABASE db1 = "c:\test1.fdb";Try using
> EXEC SQL SET DATABASE db2 = "c:\test2.fdb";
>
> EXEC SQL CONNECT ALL;
EXEC SQL CONNECT db1;
EXEC SQL CONNECT db2;
instead of CONNECT ALL;
> EXEC SQL SET TRANSACTION;Regards
>
> /* TEST is a table from db1 and db2 */
> /* ERROR HERE !! */
> EXEC SQL INSERT INTO db2.TEST SELECT * FROM db1.TEST;
>
> EXEC SQL COMMIT;
> EXEC SQL DISCONNECT ALL;
Paul