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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

the position of last occurrence

Status
Not open for further replies.

KatherineF

Technical User
Mar 3, 2003
124
0
0
US
Is there a way to find the position of last character occurrence in the string having count of occurrences
(using no loop)
 
you mean somefunction('x','abxdefxhijxlmno') yielding 11 (position) and 3 (count)?

not in ansi sql, i don't think

what database are you using?


rudy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top