LEN
DATALENGTH
UPPER
Returns the byte count of an expression.
DATALENGTH(expr)
Enter values below to update the example in real time.
name
byte_len
customers
SELECT name, DATALENGTH(name) AS byte_len FROM customers;