Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-02-26 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.