in reply to Re: DBI::Sybase -retrieving BLOB values from ms-sql question
in thread DBI::Sybase -retrieving BLOB values from ms-sql question
That's what I was thinking too but looking at the docs for DBD::Sybase:
Note that LongReadLen has no effect when using DBD::Sybase with an MS-SQL server.
And further on:
Sybase defaults the TEXTSIZE attribute (aka LongReadLen) to 32k, but MS-SQL 7 doesn't seem to do that correctly, resulting in very large memory requests when querying tables with TEXT/IMAGE data columns. The work-around is to set TEXTSIZE to some decent value via $dbh->{LongReadLen} (if that works - I haven't had any confirmation that it does) or via $dbh->do("set textsize <somesize>");
So I think the $dbh->do( "set textsize <somesize>" ) may be your only option -- but luckily mpeppler is a monk and he'll probably be along soon enough with a better answer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI::Sybase -retrieving BLOB values from ms-sql question
by mpeppler (Vicar) on Jul 07, 2006 at 15:44 UTC | |
by anexiole (Novice) on Jul 07, 2006 at 22:48 UTC | |
by mpeppler (Vicar) on Jul 08, 2006 at 06:01 UTC | |
by Anonymous Monk on Jul 10, 2006 at 02:20 UTC | |
by mpeppler (Vicar) on Jul 11, 2006 at 17:18 UTC | |
|
Re^3: DBI::Sybase -retrieving BLOB values from ms-sql question
by imp (Priest) on Jul 07, 2006 at 14:13 UTC | |
by anexiole (Novice) on Jul 07, 2006 at 22:44 UTC | |
by mpeppler (Vicar) on Jul 08, 2006 at 06:04 UTC |