Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: dbd::sybase string cut at 78 characters?

by mpeppler (Vicar)
on Jun 24, 2010 at 20:13 UTC ( #846387=note: print w/ replies, xml ) Need Help??


in reply to dbd::sybase string cut at 78 characters?

DBD::Sybase doesn't have any such limitation - but the underlying API (freetds, Open Client, etc) could very well have a limit. By default Open Client will limit you to 255 chars unless you are using a recent version (12.5 or later), and for freetds you probably need to be using TDS version 7 or 8 to get more than 255 chars for a char string with a placeholder.

Of course - the way to test this is to write a simple insert with a string of a known length and see what you get on the other end (i.e. in the database table)

Michael


Comment on Re: dbd::sybase string cut at 78 characters?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://846387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-07-02 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls