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.
In reply to Re^2: DBI::Sybase -retrieving BLOB values from ms-sql question
by derby
in thread DBI::Sybase -retrieving BLOB values from ms-sql question
by anexiole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |