Greetings all,
Disclaimer: The following is a best guess. I am by no means a Sybase guru.
My first question would be, are you sure the datatype should be varchar(1000)?
That seems to ring a bell in my memory about varchar size limit being <=255 or something like that.
Perhaps Sybase is converting it internally into something like a TEXT field or Blob since you mentioned that a direct query gives you the results you are looking for? I am wondering if Sybase is labeling the column as a varchar when Perl is trying to use it? possibly leading to the clipping you are seeing.
Not really an answer I know but one thing to possibly try is changing the datatype of that column to a Text/Blob and read the
docs about
LongReadLen to figure out how to fetch it out.
-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.