Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-07-31 09:03 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 (276 votes), past polls