RE: String truncation in insert to SQL Server with DBD::ADO and p lace holders
From: Vahe - NC Sarkissian (Vahe.Sarkissian_at_cnb.com)
Date: 09/20/04
- Next message: Amonotod: "Re: MySQL data matching error..."
- Previous message: Ilya \ Sterin: "RE: Parsing"
- Next in thread: Steffen Goeldner: "Re: String truncation in insert to SQL Server with DBD::ADO and place holders"
- Reply: Steffen Goeldner: "Re: String truncation in insert to SQL Server with DBD::ADO and place holders"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio@vodafone.com>, Steffen Goeldner <sgoeldner@cpan.org> Date: Mon, 20 Sep 2004 08:14:40 -0700
I upgraded MDAC to 2.8 before I posted the first message. I got it from
http://msdn.microsoft.com/data. Unless there's a more recent version that
I'm not aware of, I don't think the bug's in the MDAC layer.
Sadly, I think Steffen's suggestion is the best one.... Possibly you could
add a test for it, and make a note of it in the POD. I think that's all
that's practical.
Thank you both.
--Vahe
-----Original Message-----
From: ZIGLIO, Frediano, VF-IT [mailto:Frediano.Ziglio@vodafone.com]
Sent: Monday, September 20, 2004 3:51 AM
To: Steffen Goeldner; Sarkissian, Vahe - NC
Cc: dbi-users@perl.org
Subject: RE: String truncation in insert to SQL Server with DBD::ADO and
place holders
>
> Steffen Goeldner wrote:
>
> > Mysterious! Looks like the first execute establishes
> > a sticky max. length in SQL Server.
>
> Indeed, I can reproduce it with pure ADO (see attached script).
> Unfortunately, I don't see a portable workaround for DBD::ADO. I think
> it would be best the SQL Server team buys a Shared Source License from
> the Access or FoxPro team - they know how to do it ;-)
>
>
> Steffen
>
Try to update your MDAC. It should be fixed in recent versions (ODBC had the
same problem, DBD::ODBC tests contains this check)
freddy77
- Next message: Amonotod: "Re: MySQL data matching error..."
- Previous message: Ilya \ Sterin: "RE: Parsing"
- Next in thread: Steffen Goeldner: "Re: String truncation in insert to SQL Server with DBD::ADO and place holders"
- Reply: Steffen Goeldner: "Re: String truncation in insert to SQL Server with DBD::ADO and place holders"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|