Unix Technical Forum

Re: MSSQL To PostgreSQL Via DTS

This is a discussion on Re: MSSQL To PostgreSQL Via DTS within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> No luck with the experimental driver either, 2 rows with text fields, sizes: 80804 and 63456 bytes. Default settings ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:51 AM
Daniel Holm
 
Posts: n/a
Default Re: MSSQL To PostgreSQL Via DTS

No luck with the experimental driver either, 2 rows with text fields,
sizes: 80804 and 63456 bytes.

Default settings on ODBC+ driver (max length 8000 or so) result in:
> MSSQL Error: Data for source column 1 ('textfield') is too large for

the
> specified buffer size.


After modifying max length, I get various errors such as catastrophic
failure, a serious error occurred while connecting to the provider,
provider not initialized, etc. I cant get anything to work on the ODBC
driver now. I will reboot the machine and try it again later this
evening.

-----Original Message-----
From: Hiroshi Inoue [mailto:inoue@tpf.co.jp]
Sent: Wednesday, March 08, 2006 8:30 AM
To: Daniel Holm
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] MSSQL To PostgreSQL Via DTS

Daniel Holm wrote:
> Does anyone have any advice on copying columns of data type text or
> image from Microsoft SQL 2000 to Postgre? I have set the ODBC driver

to
> treat text as Long VarChar, and if I bump my max Long VarChar size up

-
> I get one of two errors:
>
>
>
> MSSQL Error: Data for source column 1 ('textfield') is too large for

the
> specified buffer size.
>
> or
>
> MSSQL Error: Query-based insertion or updating of BLOB values is not
> supported.


Please try psqlODBC 07.03.0260(Experimental Enhanced Branch) at
http://pgfoundry.org/projects/psqlodbc/ .

regards,
Hiroshi Inoue

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 02:51 AM
Hiroshi Inoue
 
Posts: n/a
Default Re: MSSQL To PostgreSQL Via DTS

Daniel Holm wrote:
> No luck with the experimental driver either, 2 rows with text fields,
> sizes: 80804 and 63456 bytes.
> Default settings on ODBC+ driver (max length 8000 or so) result in:
>
>>MSSQL Error: Data for source column 1 ('textfield') is too large for

>
> the
>
>>specified buffer size.

>
>
> After modifying max length, I get various errors


Were you able to connect to the database before the modification using
the experimantal driver ? Are you using the different DSN from the
one which uses the official driver ?

> such as catastrophic
> failure, a serious error occurred while connecting to the provider,
> provider not initialized, etc. I cant get anything to work on the ODBC
> driver now. I will reboot the machine and try it again later this
> evening.


Please replace the dll psqlodbc35w.dll by the one at
http://www.geocities.jp/inocchichich...dbc/index.html
and send the mylog output to me.

regards,
Hiroshi Inoue

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com