Returns the position of a character in the ASCII or EBCDIC collating sequence.
Category: | Character |
Returned data type: | DOUBLE |
specifies any valid expression that evaluates to a character string.
Data type | NCHAR |
See | <sql-expression> |
FedSQL Expressions |
Statement
|
Result
|
|
---|---|---|
ASCII
|
EBCDIC
|
|
select "rank"('A'); |
65 |
193 |