Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- From: steves06@xxxxxxxxxxx (Steve Sapovits)
- Date: Mon, 21 Aug 2006 10:01:40 -0400
michael.peppler@xxxxxxxxxxxxxx wrote:
There is no configuration that can be done at the DBD::Sybase level for the
BLK handling - if you are limited to 255 chars then it is most likely a
limitation of the BLK api implementation of FreeTDS.
In this case, the data itself is either small or NULL for the test
cases. And I believe I've loaded other columns (e.g., varchar(2000))
with more than 255. My thinking is maybe it's something about that
type -- much like you see issues with image, text, and Oracle CLOB
types sometimes in different areas.
I'll post back once I run tests ... it may not even be that. Here's
the error I get back from the driver:
DBD::Sybase::db commit failed: Server message number=4815 severity=17
state=1 line=1 server=NEXDB\DEV text=Received an invalid column length
from the bcp client for colid 6.OpenClient message: LAYER = (2)
ORIGIN = (5) SEVERITY = (1) NUMBER = (140)
Michael
Extranet
steves06@xxxxxxxxxxx - 21/08/2006 15:39
To: Michael PEPPLER
cc: fumiakiy, dbi-users
Subject: Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
michael.peppler@xxxxxxxxxxxxxx wrote:
DBD::Sybase will support whatever the underlying client libs are capableofhandling.
I'll throw the wrench in now: I'm using the DBD::Sybase bulk copy
interface as well. That's working great but I'm getting a failure
on a table that has a varchar(max) column. I haven't isolated it to
that yet -- I'm going to test with and without that. In the meantime,
if you have any knowledge to bestow on me regarding varchar(max) and
bulk copies, let me know.
This is a RH Linux environment, FreeTDS drivers. Perl 5.8.7,
DBD::Sybase 1.07. Target database is MS SQL Server 9.0.2047.
Bulk loading rocks by the way Michael. ;-)
Michael
Extranet
steves06@xxxxxxxxxxx - 21/08/2006 15:27
To: fumiakiy
cc: dbi-users
Subject: Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
Fumiaki Yoshimatsu wrote:
I had a need to support [n]varchar(max) and varbinary(max) datatypes ofDoes anyone know what, if any, support for these DBD::Sybase has?
MS SQL Server 2005, and patched DBD-ODBC.
Below is the diff from the current svn.
--
Steve Sapovits steves06@xxxxxxxxxxx
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
--
Steve Sapovits steves06@xxxxxxxxxxx
--
Steve Sapovits steves06@xxxxxxxxxxx
.
- Follow-Ups:
- Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- From: Steve Sapovits
- Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- References:
- Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- From: Michael Peppler
- Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- Prev by Date: Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- Next by Date: Oracle.dll load Failure (XP)
- Previous by thread: Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- Next by thread: Re: "max" datatypes support of SQL Server 2005 for DBD-ODBC
- Index(es):