I\'m trying to count how many words there are in a string in SQL.
Select (\"Hello To Oracle\") from dual;
I want to show the number of wor
Since you're using Oracle 11g it's even simpler-
select regexp_count(your_column, '[^ ]+') from your_table
Here is a sqlfiddle demo