pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL - linked with MSSQL
3+ messages / 3 participants
[nested] [flat]

* PostgreSQL - linked with MSSQL
@ 2005-04-29 00:32  pk2@o2.pl <pk2@o2.pl>
  0 siblings, 1 reply; 3+ messages in thread

From: pk2@o2.pl @ 2005-04-29 00:32 UTC (permalink / raw)
  To: pgsql-odbc

Hello, nice to meet you!

My name is Piotr. I live in Poland.

I'm going to make a connection between
PostgreSQL and MSSQL.
I have WinXP+MSSQL2k+PostgreSQL 8.0.2 (psql, PgAdminIII),
on the same machine.
I need to import data from MSSQL to PostgreSQL
or make SELECT from MSSQL beeing on PostgreSQL.
That would be perfect (I mean beeing in Postgres
and importing data from MSSQL. Then I tranform the data,
make analysies).
Another solution (less interesting for me but probably easier)
would be linking Postgres Server in Ent. Manager.
To be honest I'm a complete "green horn"
when talking about configuring odbc/jdbc/ole db etc.
Are you able to help me? Would you have enough patience?
What information do you need from me?
I'll describe everything I did in details.
Thanks,
Piotr.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PostgreSQL - linked with MSSQL
@ 2005-04-29 10:49  Richard Huxton <dev@archonet.com>
  parent: pk2@o2.pl <pk2@o2.pl>
  0 siblings, 0 replies; 3+ messages in thread

From: Richard Huxton @ 2005-04-29 10:49 UTC (permalink / raw)
  To: pk2@o2.pl; +Cc: pgsql-odbc

pk2@o2.pl wrote:
> Generally I would like to have the same possibility to make an:
> INSERT INTO [Postgres_server].mydatabase.user.mytable
> (id, data1, data2, data3)
> SELECT 
> id, data1, data2, data3
> FROM [remote_mssql].remotedatabase.dbo.table2

The quick solution (and the one I always use) is to setup ODBC for 
postgresql, then create an MS-Access database that links to both. Add a 
bunch of queries/vba and you're done.

--
   Richard Huxton
   Archonet Ltd



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PostgreSQL - linked with MSSQL
@ 2005-04-29 13:28  Merlin Moncure <merlin.moncure@rcsonline.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Merlin Moncure @ 2005-04-29 13:28 UTC (permalink / raw)
  To: Richard Huxton <dev@archonet.com>; +Cc: pgsql-odbc; pk2@o2.pl

> pk2@o2.pl wrote:
> > Generally I would like to have the same possibility to make an:
> > INSERT INTO [Postgres_server].mydatabase.user.mytable
> > (id, data1, data2, data3)
> > SELECT
> > id, data1, data2, data3
> > FROM [remote_mssql].remotedatabase.dbo.table2
> 
> The quick solution (and the one I always use) is to setup ODBC for
> postgresql, then create an MS-Access database that links to both. Add
a
> bunch of queries/vba and you're done.

Another solution along the same vein is to use DTS (Data transformation
services) to manipulate the data.  The nice thing about dts is it can
integrate right into the scheduler so you can 'publish' the data between
different data sources.

DTS is free with the desktop edition of sql server, :-).

Merlin



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-04-29 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-29 00:32 PostgreSQL - linked with MSSQL pk2@o2.pl <pk2@o2.pl>
2005-04-29 10:49 ` Richard Huxton <dev@archonet.com>
2005-04-29 13:28 Re: PostgreSQL - linked with MSSQL Merlin Moncure <merlin.moncure@rcsonline.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox