Subject | RE: Migrating database from MS SQL or PostgreSQL |
---|---|
Author | Andreas Tille |
Post date | 2000-08-18T07:15:33Z |
On Thu, 17 Aug 2000, Claudio Valderrama C. wrote:
available in PostgreSQL if it is easier to do the migration from there.
That's the point.
cat <script> | isql
would work as if I would have typed the stuff in?
This would be the safest way in my opinion.
a terrible connection :-((.
tried to migrate to PostgreSQL. May be this is a further way to go for
migration purpose once the ODBC driver is stable. Unfortunately I didn't
managed to use it because of some strange things with the connections.
Kind regards
Andreas.
> If you find a program that converts stored procedures between different;-).
> RDBMS systems, please let us know.
> :-)
> Well, are you speaking about MsSql2IB or PostgreSQL2IB or trying to useThe original data source is MsSQL 7.0 server. But the data are also
> PostgreSQL as an intermediate step for the conversion? I don't understand
> really what's your data source.
available in PostgreSQL if it is easier to do the migration from there.
That's the point.
> Use the UNIX utilities to create INSERT commands based on your columns andSo
> submit that as an script through IB's isql. Alternatively, download the
cat <script> | isql
would work as if I would have typed the stuff in?
> documents, read about the EXTERNAL TABLE feature in IB and createWhere can I find IBLoad? It seems not to be in the IBConsole archive.
> fixed-length files for that purpose. If you can use Windows, there's an
> utility called IBLoad that takes a fixed length file and dumps it into an
> Interbase table, without the need to define an external table.
> > Is there a similar mechanism to theIf you are interested about what I've wrote above see my other mail.
> > pg_dump | psql
> > thing of PostgreSQL?
>
> I don't have any idea what pg_dump and psql do, so I can't comment. As I
> wrote before, if you create a set of INSERT commands from your data, you can
> use IB's isql to dump the data.
This would be the safest way in my opinion.
> I think that the best way you can do is to extract metadata, then tweak itMe too.
> and then submit that to IB. I do not trust automatic tools that convert
> metadata from one engine to another. If you read the past articles in thisI'll try to search the archive. Unfortunately I'm currently struck with
> list, I posted a long email on IB v/s MsSql datatypes and some limitations.
a terrible connection :-((.
> There's a beta OLE/DB driver in beta for Interbase atI was told to try the replication feature of MS SQL server once I've
> http://www.lcpi.lipetsk.ru/eng/
> If you can use it to make MsSql to export data to IB once the metadata has
> been created in IB, it would be a good contribution.
tried to migrate to PostgreSQL. May be this is a further way to go for
migration purpose once the ODBC driver is stable. Unfortunately I didn't
managed to use it because of some strange things with the connections.
> This list doesn't solve all your problems. We can help if the usersThanks for the hint. I'll check that.
> interested in conversions spend time in practical solutions, too.
> If you want to have an idea of what GDB and BDE are, go to my site (see
> signature below) and click on DOCUMENTS and then on GLOSSARY.
Kind regards
Andreas.