REVERSE()
Reverses a string
VARCHAR
REVERSE (string)
Parameter | Description |
---|---|
string |
An expression of a string type |
REVERSE()
Reverses a string
VARCHAR
REVERSE (string)
Parameter | Description |
---|---|
string |
An expression of a string type |
REVERSE
Examplesreverse ('spoonful') -- returns 'lufnoops'
reverse ('Was it a cat I saw?') -- returns '?was I tac a ti saW'
Tip
|
This function is useful if you want to group, search or order on string endings, e.g. when dealing with domain names or email addresses:
|