Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Getting length of longest value in a column

by GrandFather (Saint)
on Feb 20, 2012 at 20:52 UTC ( [id://955144]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting length of longest value in a column
in thread Getting length of longest value in a column

Actually even len/length/char_length varies from DB to DB. Of the two I've worked with (SQLite and MySQL), one returns the number of bytes for length where the other returns the number of characters. Neither provide len. MySQL provides char_length in addition to length to return the character count.

True laziness is hard work
  • Comment on Re^2: Getting length of longest value in a column

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://955144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found