Name
OCTET_LENGTH( )
Synopsis
OCTET_LENGTH(string
)
This
function returns the number of bytes contained in the given string.
Note that there are eight bits to a byte and there is one byte to a
letter. An octet is a term used to describe the
components of a IP address. This function is an alias of
LENGTH( )
.
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.