Subject | RE: [firebird-support] Inserting data from another fdb file |
---|---|
Author | Helen Borrie |
Post date | 2004-12-19T13:42:54Z |
At 01:53 PM 19/12/2004 +0100, you wrote:
using it in action, download IB_SQL from the IBO website and give it a
try. Its datapump tool uses TIB_Datapump. IB_SQL gives you an interface
to set up a cross-database transaction, with a select statement in the
source pane and an insert or update statement in the destination pane. In
between are other panes where you can do custom mappings between the source
columns and the destination columns.
about them. You have one transaction that spans two or more
databases. You can read from or write to all of the databases within the
same transaction. Firebird has some built in protection for
committing/rolling back such transactions (known as two-phase commit) that
your application doesn't have to be aware of.
Helen
>I'll look for components (using BCB6, do you have any good one in mind ?),Well, the TIB_Datapump in IBO is the one I use. If you want a trial at
>but I'm also interested in my own function.
using it in action, download IB_SQL from the IBO website and give it a
try. Its datapump tool uses TIB_Datapump. IB_SQL gives you an interface
to set up a cross-database transaction, with a select statement in the
source pane and an insert or update statement in the destination pane. In
between are other panes where you can do custom mappings between the source
columns and the destination columns.
>Where can I find more data about cross-database transaction? Looking throughThe index entry is "Multi-database transactions". There's not much to know
>your book, but haven't found it. Sorry if I missed it.
about them. You have one transaction that spans two or more
databases. You can read from or write to all of the databases within the
same transaction. Firebird has some built in protection for
committing/rolling back such transactions (known as two-phase commit) that
your application doesn't have to be aware of.
Helen