Firebird data export

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
werkstattboss
Posts: 20
Joined: Fri 15 May 2009 17:53

Firebird data export

Post by werkstattboss » Wed 13 Jun 2012 13:14

Hello,
there are hints to a data export / import functionality in IBDac, at least in Version 2.0.

I need to move data between different databases and I would prefer a solution from inside the program (VCL) over an external one (fbexport).

So my question is, whether there is such a function and where I can find it.
I use D 2007 / XE / XE2 with IBDac

TIA
Rolf

werkstattboss
Posts: 20
Joined: Fri 15 May 2009 17:53

Re: Firebird data export

Post by werkstattboss » Thu 14 Jun 2012 13:20

Hi again,
if there is no built in replication that´s sad but ...
Another way to realize that would be to record all SQL Statements executed during a session and execute them as a script on the other DB / Table.
How can I (if possible) get the SQL statements that are executed?
I have some parameterized queries.
I would have to change them if I can´t get the statement with the parameters replaced by values from inside the program.

TIA

Rolf

upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

Re: Firebird data export

Post by upscene » Thu 14 Jun 2012 14:24

Have you take a look at our IB LogManager product? Check out www.upscene.com

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Firebird data export

Post by ZEuS » Tue 19 Jun 2012 14:09

You can use the TIBCSQLMonitor component to record all executed SQL statements, then modify them according to your needs and execute them using the TIBCScript component.
With the TIBCSQLMonitor component you can use the Devart dbMonitor tool, which allows to save the log output to a file. Then you can parse the file data to create a script for executing in the TIBCScript component.

werkstattboss
Posts: 20
Joined: Fri 15 May 2009 17:53

Re: Firebird data export

Post by werkstattboss » Tue 19 Jun 2012 15:42

I guess that´s what I was looking for.

Thank you

Rolf

Post Reply