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!

How to select only last 4 characters in a column of type varchar2

garyNbostonSep 9 2010 — edited Sep 9 2010
The data in column P_JACKS.LABEL is in the form of:

294-001,
B01-099,
194A-098,....

I'd like to select only the 3 characters following the '-' dash, and find the maximum of that set.

This must be simple, I know, but so am I. Can someone please help me with this?

Thanks!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2010
Added on Sep 9 2010
4 comments
2,944 views