- Overview
- Data types
- Commands
- Functions
- Overview
- Aggregate
- Conditional expression
- Conversion
- Date and time
- Numeric
- String
- Semi-structured data
On this page
starts_with
Returns true if <expr1>
starts with <expr2>
. Both expressions must be strings.
Syntax
starts_with( <expr1> , <expr2> )
Returns
Returns a boolean. The value is TRUE if <expr1>
starts with <expr2>
. Returns NULL if either input expression is NULL. Otherwise, returns FALSE.