pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedRegarding Connectivity
4+ messages / 4 participants
[nested] [flat]
* Regarding Connectivity
@ 2008-01-08 12:43 Amit Saha <amit.caritor@gmail.com>
2008-01-08 22:20 ` Re: Regarding Connectivity Phillip Smith <phillip.smith@weatherbeeta.com.au>
2008-01-09 01:37 ` Re: Regarding Connectivity Brandon Hines <brandon@2i.com>
0 siblings, 2 replies; 4+ messages in thread
From: Amit Saha @ 2008-01-08 12:43 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I have one question regarding the connectivity to PostGreSQL Database.
*Question:* Is it possible to connect to the PostGreSQL database through
Microsoft SQL Server 2000 version in the DTS Package.
There is a requirement to pull data from PoseGreSQL database into SQL Server
Database.
In case, it's not possible, is there any way to export the data in a flat
file, so that I can use this for importing in SQL server database.
Please let me know how should I go about that.
Thanks
Amit
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Regarding Connectivity
2008-01-08 12:43 Regarding Connectivity Amit Saha <amit.caritor@gmail.com>
@ 2008-01-08 22:20 ` Phillip Smith <phillip.smith@weatherbeeta.com.au>
2008-01-08 22:33 ` Re: Regarding Connectivity Greg Cocks <gcocks@stoller.com>
1 sibling, 1 reply; 4+ messages in thread
From: Phillip Smith @ 2008-01-08 22:20 UTC (permalink / raw)
To: 'Amit Saha' <amit.caritor@gmail.com>; pgsql-odbc
Not sure about using DTS to do it (only just starting playing with that
myself), but to get PostgreSQL data to a flat file for importing, you could
do something like:
BEGIN;
SELECT col1, col2, col3, col7, col8, col9
INTO TEMP export
FROM Postgres_table
WHERE whatever = something;
COPY export TO '/path/to/save/exported/file.tsv';
COMMIT;
I use this method in scripts to move data between databases on PostgreSQL.
Cheers,
~p
-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Amit Saha
Sent: Tuesday, 8 January 2008 23:44
To: pgsql-odbc@postgresql.org
Subject: [ODBC] Regarding Connectivity
Hi,
I have one question regarding the connectivity to PostGreSQL Database.
Question: Is it possible to connect to the PostGreSQL database through
Microsoft SQL Server 2000 version in the DTS Package.
There is a requirement to pull data from PoseGreSQL database into SQL Server
Database.
In case, it's not possible, is there any way to export the data in a flat
file, so that I can use this for importing in SQL server database.
Please let me know how should I go about that.
Thanks
Amit
THINK BEFORE YOU PRINT - Save paper if you don't really need to print this
*******************Confidentiality and Privilege Notice*******************
The material contained in this message is privileged and confidential to
the addressee. If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.
Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments
e-mail.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Regarding Connectivity
2008-01-08 12:43 Regarding Connectivity Amit Saha <amit.caritor@gmail.com>
2008-01-08 22:20 ` Re: Regarding Connectivity Phillip Smith <phillip.smith@weatherbeeta.com.au>
@ 2008-01-08 22:33 ` Greg Cocks <gcocks@stoller.com>
0 siblings, 0 replies; 4+ messages in thread
From: Greg Cocks @ 2008-01-08 22:33 UTC (permalink / raw)
To: Phillip Smith <phillip.smith@weatherbeeta.com.au>; Amit Saha <amit.caritor@gmail.com>; pgsql-odbc
If you are just wanting to move the data (i.e., the structure uses
static) you could maybe explore using MS Access as an intermediary???
Cheers:
GREG COCKS
gcocks@stoller.com <mailto:gcocks@stoller.com>
--------------------------------
________________________________
From: Phillip Smith [mailto:phillip.smith@weatherbeeta.com.au]
Sent: Tuesday, January 08, 2008 3:21 PM
To: 'Amit Saha'; pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Regarding Connectivity
Not sure about using DTS to do it (only just starting playing with that
myself), but to get PostgreSQL data to a flat file for importing, you
could do something like:
BEGIN;
SELECT col1, col2, col3, col7, col8, col9
INTO TEMP export
FROM Postgres_table
WHERE whatever = something;
COPY export TO '/path/to/save/exported/file.tsv';
COMMIT;
I use this method in scripts to move data between databases on
PostgreSQL.
Cheers,
~p
-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Amit Saha
Sent: Tuesday, 8 January 2008 23:44
To: pgsql-odbc@postgresql.org
Subject: [ODBC] Regarding Connectivity
Hi,
I have one question regarding the connectivity to PostGreSQL Database.
Question: Is it possible to connect to the PostGreSQL database through
Microsoft SQL Server 2000 version in the DTS Package.
There is a requirement to pull data from PoseGreSQL database into SQL
Server Database.
In case, it's not possible, is there any way to export the data in a
flat file, so that I can use this for importing in SQL server database.
Please let me know how should I go about that.
Thanks
Amit
THINK BEFORE YOU PRINT - Save paper if you don't really need to print
this e-mail.
*******************Confidentiality and Privilege
Notice*******************
The material contained in this message is privileged and confidential to
the addressee. If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.
Information in this message that does not relate to the official
business of Weatherbeeta must be treated as neither given nor endorsed
by Weatherbeeta. Weatherbeeta, its employees, contractors or associates
shall not be liable for direct, indirect or consequential loss arising
from transmission of this message or any attachments
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Regarding Connectivity
2008-01-08 12:43 Regarding Connectivity Amit Saha <amit.caritor@gmail.com>
@ 2008-01-09 01:37 ` Brandon Hines <brandon@2i.com>
1 sibling, 0 replies; 4+ messages in thread
From: Brandon Hines @ 2008-01-09 01:37 UTC (permalink / raw)
To: Amit Saha <amit.caritor@gmail.com>; +Cc: pgsql-odbc
Amit,
I have not set them up myself, but in the past we used DTS packages
extensively. There were some occasional issues, but it does work.
-Brandon
On Jan 8, 2008, at 6:43 AM, Amit Saha wrote:
>
> Hi,
>
> I have one question regarding the connectivity to PostGreSQL Database.
>
> Question: Is it possible to connect to the PostGreSQL database
> through Microsoft SQL Server 2000 version in the DTS Package.
> There is a requirement to pull data from PoseGreSQL database into
> SQL Server Database.
>
> In case, it's not possible, is there any way to export the data in a
> flat file, so that I can use this for importing in SQL server
> database.
>
> Please let me know how should I go about that.
>
> Thanks
> Amit
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2008-01-09 01:37 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08 12:43 Regarding Connectivity Amit Saha <amit.caritor@gmail.com>
2008-01-08 22:20 ` Phillip Smith <phillip.smith@weatherbeeta.com.au>
2008-01-08 22:33 ` Greg Cocks <gcocks@stoller.com>
2008-01-09 01:37 ` Brandon Hines <brandon@2i.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