Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InstRev function in SQL for HIR

Status
Not open for further replies.

yimitz

Programmer
Apr 5, 2002
54
US
I have a field of data that looks something like this: C320-EB-17-SOME NAME
I need to extract just the part that is SOME NAME. In Access I'd use INSTREV and search for '-' then do a left function from that point. The data is variable so I can't just count on SOME NAME starting at the same position every time. About the only thing I can count on is the SOME NAME coming directly after the last '-'

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top