Re: regarding schema only migration from sqlserver to postgres with runmtk.sh

From: "Mike Sofen" <msofen(at)runbox(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: regarding schema only migration from sqlserver to postgres with runmtk.sh
Date: 2016-06-15 21:38:35
Message-ID: 034c01d1c74e$46a2b5a0$d3e820e0$@runbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of David G. Johnston
Sent: Wednesday, June 15, 2016 1:31 PM
To: Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] regarding schema only migration from sqlserver to postgres with runmtk.sh

On Wed, Jun 15, 2016 at 11:27 AM, Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com <mailto:maheshpostgres9(at)gmail(dot)com> > wrote:

may i know recommended approach to migrate the tables from sql server to postgresql instead of using 3rd party tools

​I suppose SQL Server has some means to export in TSV/CSV or other row-oriented structured output. The \copy psql meta-command or COPY SQL ​command could load that data.

David J.

There are MANY tools for sql server, many are built in (aka free) that will generate DDL, or extract data, or both, plus you can directly query the system catalogs, just like PG. Utterly trivial stuff to use and Postgres can ingest all of it since it’s normally either flat file or ansi sql.

MikeS

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2016-06-15 22:50:45 Re: Question about RUM-index
Previous Message John R Pierce 2016-06-15 20:42:50 Re: regarding schema only migration from sqlserver to postgres with runmtk.sh