Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From Interbase 2007 to Firebird

Status
Not open for further replies.

AtcBrambo

Programmer
May 7, 2010
4
IT
Hallo.
For customer reasons I must come back to FB. I tried a way to backup data in transportable format using gbak and then restore with FB. But it doesn't work.
So I need to write an appication to pass the data.
The problem is:
since on the same application there will be two TIBDatabase I must tell each with client use, like this way:

IBDatabase_1 must connect using c:\windows\system32\gds32_IB_2007.dll
IBDatabase_2 must connect using c:\windows\system32\gds32_FB_1_5.dll

I use IBExpert and, i noticed this portion of code.

/******************************************************************************/
/*** Generated by IBExpert 08/05/2010 ***/
/******************************************************************************/

SET CLIENTLIB 'C:\Windows\System32\gds32_ib_2007.dll';

CREATE DATABASE 'ARCHIVIO_ELESTAMP.GDB'
USER 'SYSDBA' PASSWORD 'masterkey'
PAGE_SIZE 8192;

Is there any way to do the same thing while connecting from my applcation ?
I believe that It can be done, since IBExpert allow you to chose with client LIB use to connection to an existing database.

Best regards

Giovanni.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top