in reply to Re: Re: Retrieve MS SQL Image to per/UNIX
in thread Retrieve MS SQL Image to per/UNIX
cooperman,
Try:
$dbh->do("set textsize <somesize>");
From this site:
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>'');
Try:
$dbh->do("set textsize <somesize>");
From this site:
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>'');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Retrieve MS SQL Image to per/UNIX
by Anonymous Monk on Jun 08, 2003 at 15:45 UTC |
In Section
Seekers of Perl Wisdom