Count Word Occurrences in Oracle String
by Koen • November 17, 2011 • Oracle, Regular Expression, SQL • 0 Comments
As of Oracle 11 you can use the REGEXP_COUNT function to count the number of occurrences of a word or string in a varchar. However, if you’re using Oracle 10 you may be able to achieve something similar as shown below. In this example we count how many times the word ‘two’ appears in...
Read more →