Searches a character expression for specified characters and returns the position of the first occurrence of any of the characters.
| Category: | Character |
| Returned data type: | DOUBLE |
specifies any valid expression that evaluates to a character string that is searched.
| Data type | NCHAR |
| See | <sql-expression> |
| FedSQL Expressions |
specifies the characters to search for in target-expression.
| Data type | NCHAR |
| Tip | Enclose a literal string of characters in single quotation marks. |
| See | <sql-expression> |
| FedSQL Expressions |
|
Statements
|
Results
|
|---|---|
select indexc('aabb','ab'); |
1 |