Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: [OT] Database row width and cargo cult programming

by mpeppler (Vicar)
on May 04, 2011 at 13:48 UTC ( #902886=note: print w/replies, xml ) Need Help??


in reply to Re^3: [OT] Database row width and cargo cult programming
in thread [OT] Database row width and cargo cult programming

For Sybase ASE, varchar() will be the size of the number of bytes entered. If the server charset is utf8 then the number of characters will be less or equal to the number of bytes. For nvarchar() you have the same behavrior, modulo @@ncharsize.

Michael

  • Comment on Re^4: [OT] Database row width and cargo cult programming

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://902886]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-12-02 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (50 votes). Check out past polls.