Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 chilling in the Monastery: (6)
As of 2017-03-23 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (281 votes). Check out past polls.