scalar
RIGHT
Returns the last n characters for nonnegative n. Example target: PostgreSQL 17. No tables or extensions required.
Formal Syntax & Structure
sql syntaxsql
RIGHT(text,n)Working Example
Example Snippetsql
SELECT right('catalog',3);Returns the last n characters for nonnegative n. Example target: PostgreSQL 17. No tables or extensions required.
RIGHT(text,n)SELECT right('catalog',3);