CHAR_LENGTH clause
The
CHAR_LENGTH
clause obtains the length of a String
type column.Supported functionality
Expected behavior | Query to achieve the expected behavior |
|---|---|
Calculate the length of a string in a column. |
|
Filter rows where the string length is greater than 10. |
|
Unsupported functionality
- Using CHAR_LENGTH with non-string data types.
- Combining CHAR_LENGTH with aggregate functions.
Provide Feedback