select last character of a string
766420Sep 21 2010 — edited Sep 21 2010Hello,
I would like to select the last character of an address string. For example, in '165 John Ave W' -- select result 'W'. I tried to use RIGHT but it doesn't work. I'm using SQL Plus.
SELECT RIGHT(ADDRESS,1) FROM addresses;
ORA-00904: "RIGHT": invalid identifier
I can't find the appropriate select statement to achieve the result I want. Ideas?
Thanks!