string - How to count instances of character in SQL Column - Stack ...

string - How to count instances of character in SQL Column - Stack ...

瀏覽:657
日期:2025-04-25
9. I have an sql column that is a string of 100 'Y' or 'N' characters. For example: YYNYNYYNNNYYNY... What is the easiest way to get the count of all 'Y' symbols in each row. sql string tsql ... MySQL, MSSQl, Oracle? – Vincent ......看更多