I have a PostgreSQL query here that counts capitalized characters from a “word” table column:
sum(length(substring(word from '^[A-Z]*'))) as capitalized_sum;
I need to convert it to Oracle SQL query.
I tried:
sum(length(regexp_like('^[A-Z]*'))) from word as capitalized_sum;
but that gives me “SQL command not properly ended” message. Any help?
I think I found what I need. Here is the OracleSQL query: