Returns the number of bytes in a string of any data type.
| Category: | Character |
| Returned data type: | BIGINT |
specifies any valid expression.
| Data type | All data types are valid. |
| See | <sql-expression> |
| FedSQL Expressions |
|
Statements
|
Results
|
|---|---|
select octect_length('December'); |
8 |
select octet_length(B'0100011100'); |
2 |
select octet_length(x'FEA364BEA234'); |
6 |
select octet_length(' FedSQL '); |
18 |