I want to search a column for all instances of a string
For example, if I have this a column with the value all good all bad all better
I want to find the number of instances of all
.
I tried
select instr(column, 'all') from test_table;
but that only returns the position of the first occurrence of all
. I'm using Oracle 11g database.
Is there a way I can find all instances of a specific string in Oracle db?