Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[LanX]: ... test

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-03-28 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.