หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime
Returns the byte length of string data or number of bytes of binary data.
Syntax
octet_length(expr)
Arguments
expr: A STRING or BINARY expression.
Returns
An INTEGER.
Examples
> SELECT octet_length('Spark SQL');
9
> SELECT octet_length('서울시');
9