Regarding Connectivity

------=_Part_7815_25451656.1199796225526
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_Part_7815_25451656.1199796225526
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br clear="all">
<div>Hi,</div>
<div> </div>
<div>I have one question regarding the connectivity to PostGreSQL Database.</div>
<div> </div>
<div><strong>Question:</strong> Is it possible to connect to the PostGreSQL database through Microsoft SQL Server 2000 version in the DTS Package.</div>
<div>There is a requirement to pull data from PoseGreSQL database into SQL Server Database.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Please let me know how should I go about that.</div>
<div> </div>
<div>Thanks<br>Amit</div>

------=_Part_7815_25451656.1199796225526--
Amit Saha [ Di, 08 Januar 2008 13:43 ] [ ID #1902637 ]

Re: Regarding Connectivity

This is a multi-part message in MIME format.

------=_NextPart_000_0031_01C852A0.EB5FACA0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

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 =3D 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 [at] postgresql.org
[mailto:pgsql-odbc-owner [at] postgresql.org] On Behalf Of Amit Saha
Sent: Tuesday, 8 January 2008 23:44
To: pgsql-odbc [at] 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


=0ATHINK BEFORE YOU PRINT - Save paper if you don't really need to print this=
=0A=0A*******************Confidentiality and Privilege Notice*******************=
=0A=0AThe material contained in this message is privileged and confidential to=
=0Athe addressee. If you are not the addressee indicated in this message or=
=0Aresponsible for delivery of the message to such person, you may not copy=0Aor=
deliver this message to anyone, and you should destroy it and kindly=0Anotify=
the sender by reply email.=0A=0AInformation in this message that does not relat=
e to the official business=0Aof Weatherbeeta must be treated as neither given =
nor endorsed by Weatherbeeta.=0AWeatherbeeta, its employees, contractors or as=
sociates shall not be liable=0Afor direct, indirect or consequential loss aris=
ing from transmission of this=0Amessage or any attachments=0Ae-mail.=0A

------=_NextPart_000_0031_01C852A0.EB5FACA0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle18
{font-family:Arial;
color:navy;}
[at] page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-AU link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>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:</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>BEGIN;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>SELECT col1, col2, col3, col7, =
col8, col9</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>INTO TEMP export</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>FROM =
Postgres_table</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>WHERE whatever =3D =
something;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>COPY export TO =
‘/path/to/save/exported/file.tsv’;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>COMMIT;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I use this method in scripts to =
move data
between databases on PostgreSQL.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Cheers,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>~p</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0cm 0cm =
0cm 4.0pt'>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
pgsql-odbc-owner [at] postgresql.org [mailto:pgsql-odbc-owner [at] postgresql.org] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Amit Saha<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, 8 January =
2008
23:44<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
pgsql-odbc [at] postgresql.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [ODBC] Regarding
Connectivity</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br clear=3Dall>
</span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Hi,</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>I have one question regarding the connectivity to PostGreSQL =
Database.</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal><strong><b><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Question:</span></font></b></strong> Is it =
possible to
connect to the PostGreSQL database through Microsoft SQL Server 2000 =
version in
the DTS Package.</p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>There is a requirement to pull data from PoseGreSQL database =
into SQL
Server Database.</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>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.</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Please let me know how should I go about that.</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Thanks<br>
Amit</span></font></p>

</div>

</div>

</div>


<br>=
<p>=0ATHINK BEFORE YOU PRINT - Save paper if you don't really need to print t=
his e-mail.=0A<p>=0A<b>*******************Confidentiality and Privilege Notice**=
*****************</b>=0A<p>=0AThe material contained in this message is privileg=
ed and confidential to=0Athe addressee. If you are not the addressee indicate=
d in this message or=0Aresponsible for delivery of the message to such person,=
you may not copy=0Aor deliver this message to anyone, and you should destroy =
it and kindly=0Anotify the sender by reply email.=0A<p>=0AInformation in this mess=
age that does not relate to the official business=0Aof Weatherbeeta must be tr=
eated as neither given nor endorsed by Weatherbeeta.=0AWeatherbeeta, its emplo=
yees, contractors or associates shall not be liable=0Afor direct, indirect or =
consequential loss arising from transmission of this=0Amessage or any attachme=
nts=0A
<br>=
</body>

</html>

------=_NextPart_000_0031_01C852A0.EB5FACA0--
Phillip Smith [ Di, 08 Januar 2008 23:20 ] [ ID #1902638 ]

Re: Regarding Connectivity

This is a multi-part message in MIME format.

------_=_NextPart_001_01C85246.861F2A1F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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 [at] stoller.com <mailto:gcocks [at] stoller.com>







--------------------------------



________________________________

From: Phillip Smith [mailto:phillip.smith [at] weatherbeeta.com.au]
Sent: Tuesday, January 08, 2008 3:21 PM
To: 'Amit Saha'; pgsql-odbc [at] 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 =3D 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 [at] postgresql.org
[mailto:pgsql-odbc-owner [at] postgresql.org] On Behalf Of Amit Saha
Sent: Tuesday, 8 January 2008 23:44
To: pgsql-odbc [at] 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


------_=_NextPart_001_01C85246.861F2A1F
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.emailstyle18
{font-family:Arial;
color:navy;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
[at] page Section1
{size:595.3pt 841.9pt;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>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???<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>=


<p class=3DMsoNormal><em><i><font size=3D1 color=3Dnavy =
face=3DArial><span
style=3D'font-size:7.5pt;font-family:Arial;color:navy'>Cheer s:</span></fo=
nt></i></em><font
color=3Dnavy><span style=3D'color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><em><i><font size=3D1 color=3Dnavy =
face=3DArial><span
style=3D'font-size:7.5pt;font-family:Arial;color:navy'>GREG =
COCKS</span></font></i></em><font
color=3Dnavy><span style=3D'color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span =
style=3D'font-size:
7.5pt;font-family:Arial;color:navy'><a =
href=3D"mailto:gcocks [at] stoller.com"><em><i><font
color=3Dnavy face=3DArial><span =
style=3D'font-family:Arial;color:navy;text-decoration:
none'>gcocks [at] stoller.com</span></font></i></em></a></span></font><font
color=3Dnavy><span style=3D'color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>=


<p class=3DMsoNormal><em><i><font size=3D1 color=3Dnavy =
face=3DArial><span
style=3D'font-size:7.5pt;font-family:Arial;color:navy'>----- -------------=
--------------</span></font></i></em><font
color=3Dnavy><span style=3D'color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dnavy face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:navy'> </span></font><o:p></o:p></p>=


</div>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
Phillip Smith
[mailto:phillip.smith [at] weatherbeeta.com.au] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, January =
08, 2008
3:21 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> 'Amit Saha';
pgsql-odbc [at] postgresql.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [ODBC] =
Regarding
Connectivity</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>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:</span></font><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'> </span></fo=
nt><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>BEGI N;</span></fo=
nt><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>SELE CT col1, =
col2, col3,
col7, col8, col9</span></font><span lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>INTO TEMP =
export</span></font><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>FROM =
Postgres_table</span></font><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>WHER E whatever =
=3D
something;</span></font><span lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>COPY export TO
‘/path/to/save/exported/file.tsv’;</span></font><span =
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>COMM IT;</span></f=
ont><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'> </span></fo=
nt><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>I use this =
method in
scripts to move data between databases on PostgreSQL.</span></font><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'> </span></fo=
nt><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Chee rs,</span></f=
ont><span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>~p</span></font><=
span
lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-AU
style=3D'font-size:10.0pt;font-family:Arial;color:navy'> </span></fo=
nt><span
lang=3DEN-AU><o:p></o:p></span></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
pgsql-odbc-owner [at] postgresql.org [mailto:pgsql-odbc-owner [at] postgresql.org] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Amit Saha<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, 8 January =
2008
23:44<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
pgsql-odbc [at] postgresql.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [ODBC] Regarding
Connectivity</span></font><span lang=3DEN-AU><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'><br clear=3Dall>
<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'>Hi,<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'>I have one question regarding the =
connectivity to
PostGreSQL Database.<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><strong><b><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-AU =
style=3D'font-size:12.0pt'>Question:</span></font></b></strong><span
lang=3DEN-AU> Is it possible to connect to the PostGreSQL database =
through Microsoft
SQL Server 2000 version in the DTS Package.<o:p></o:p></span></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'>There is a requirement to pull data from =
PoseGreSQL
database into SQL Server Database.<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'>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.<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'>Please let me know how should I go about =
that.<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'>Thanks<br>
Amit<o:p></o:p></span></font></p>

</div>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-AU
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-AU =
style=3D'font-size:12.0pt'>THINK
BEFORE YOU PRINT - Save paper if you don't really need to print this =
e-mail. <o:p></o:p></span></font></p>

<p><b><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-AU =
style=3D'font-size:
12.0pt;font-weight:bold'>*******************Confidentiality and =
Privilege
Notice*******************</span></font></b><span lang=3DEN-AU> =
<o:p></o:p></span></p>

<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-AU =
style=3D'font-size:12.0pt'>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. <o:p></o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-AU =
style=3D'font-size:12.0pt'>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 <o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C85246.861F2A1F--
Greg Cocks [ Di, 08 Januar 2008 23:33 ] [ ID #1902639 ]

Re: Regarding Connectivity

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


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
Brandon Hines [ Mi, 09 Januar 2008 02:37 ] [ ID #1903522 ]
Datenbanken » gmane.comp.db.postgresql.odbc » Regarding Connectivity

Vorheriges Thema: need a help
Nächstes Thema: SQLDescribeCol returns wrong columnsize for macaddress ?