Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

select last character of a string

766420Sep 21 2010 — edited Sep 21 2010
Hello,
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!
This post has been answered by Boneist on Sep 21 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2010
Added on Sep 21 2010
6 comments
105,360 views