OracleString FunctionsLENGTHB
LENGTH

LENGTHBString Functions

UPPER

Returns the byte length of a string.

Syntax

LENGTHB(str)

Example

Enter values below to update the example in real time.

name
byte_len
customers
SELECT name, LENGTHB(name) AS byte_len FROM customers;