I have an sql column that is a string of 100 \'Y\' or \'N\' characters. For example:
YYNYNYYNNNYYNY...
What is the easiest way
The easiest way is by using Oracle function:
SELECT REGEXP_COUNT(COLUMN_NAME,'CONDITION') FROM TABLE_NAME