Solved

How to export data from Interbase 6.0 to Interbase 5.5??

Posted on 2001-06-17
14
193 Views
Last Modified: 2010-04-06
Currently I am developing database and system using Interbase 6.0.  But finally I found out that it would be more appropriate for me to come out with Interbase 5.5 system.  Any one has any idea of how to export data from existing Interbase 6.0 data to a newly compiled interbase 5.5 database?  
0
Comment
Question by:ivylnm
  • 5
  • 4
  • 3
  • +2
14 Comments
 
LVL 2

Expert Comment

by:danysz
Comment Utility
u can use datapump coming with Delphi to transfer data ...

daniel

ps. u can buy IBAdmin and use it to manipulate structure and data from interbase databases .........  it's working wonderfull but it cost's .

daniel
0
 
LVL 1

Expert Comment

by:Greyman
Comment Utility
It probably won't work, but try writing a backup of your IB 6.0 database and restoring it in 5.5 -  the process definitely works in the other direction, and it will only cost you a few minutes.
0
 
LVL 2

Expert Comment

by:danysz
Comment Utility
what will not work greyman ?

daniel
0
 
LVL 1

Expert Comment

by:Greyman
Comment Utility
What I suggested probably won't work - but it's worth trying since the payoff if it does work is huge.

So back up the DB, restore it in 5.5 and don't worry if it doesn't work.
0
 
LVL 2

Expert Comment

by:danysz
Comment Utility
it depends how u r doing it...
if u export to a text file tab delimited it will work but it's not so easy to work with something that is not standard export.

daniel
0
 
LVL 1

Expert Comment

by:Greyman
Comment Utility
You're missing the point.  I'm talking about using the Interbase Backup utility.
0
 
LVL 2

Expert Comment

by:danysz
Comment Utility
i know

the interbase utility doesn't give u text files......

daniel
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:ivylnm
Comment Utility
I have tried to backup it using Interbase 6.0 and restore it back using Interbase 5.5. But it won't work.  Any other idea??? Like paradox table...but I am not expertised in Paradox table. Please help.
0
 
LVL 2

Expert Comment

by:danysz
Comment Utility
i told u ...
it's my first comment . use datapump coming with Delphi

daniel
0
 

Author Comment

by:ivylnm
Comment Utility
but data pump fail as well...I have generated 2 gdb files: one in interbase 6.0 and another one in Interbase 5.5.  When I use data pump, it said version not matched or something like that.

Any other way please.
0
 

Expert Comment

by:Iamme
Comment Utility
It's difficult....
But I think It cuold b possible
0
 
LVL 1

Accepted Solution

by:
rpo earned 200 total points
Comment Utility
IMHO, the datapump failed because you used the same server (and i think it was v5.5) for both databases (5 and 6), did you?

If you did, then, i think, you'll have to use intermediate storage - Paradox for instance.

Just tell the datapump to move data from v6.0 database (of course you should have 6.0 server installed and running) to Paradox tables, after that shutdown the v6.0 server and install (or just run if it is possible to have both servers installed without conflicts) the v5.5 server. Then use the datapump again to move the data from Paradox tables to Interbase.

I did never work with Interbase 5.5 and i don't have it, so all said above is just a theory (but i did move data between Interbase 6 and Paradox in both directions).

Roman.
0
 
LVL 1

Expert Comment

by:Greyman
Comment Utility
You can cook your own datapump, it'll take a while, but will definitely work.

Use one TQuery (connected to the source database) to fetch all of the records from each table in turn, then use another TQuery (connected to the destination) to write the records.  (You can use the DataSource property to reduce some of the typing in writing that program.)
0
 

Author Comment

by:ivylnm
Comment Utility
Thanks for guidance!!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now