On Mon, Jul 06, 2009 at 09:09:08AM -0000, Devananda vdv wrote:
> Arjen's comment on facebook got me thinking about how much I don't like
> LENGTH() because it's ambiguous. I've griped on this issue in other
> languages too, particularly PHP. Without checking the documentation, to the
> casual western user, it seems like a character count because LENGTH('abc')
> == CHAR_LENGTH('abc').
> 
> I'm also not a fan of OCTET_LENGTH... "byte" is a much more commonly used
> term ;)
> 
> What do you think about removing LENGTH() and renaming OCTET_LENGTH to
> BYTE_LENGTH?


Pretty simple to have BYTE_LENGTH be an alias.... although removing
LENGTH does change SQL compatibility. So I wonder what others think...

-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to