T-SQL Function to Count Number of Characters in String

Free Download
download now

I wrote a Microsoft SQL function that you can pass a String (in this case the TABLE COLUMN) and the character that you looking for and it will return the number of occurrences.

To accomplish this task I wrote a Microsoft SQL function that you can pass a String (in this case the column ) and the character) that you looking for and it will return the number of occurrences.  In my case i wanted to look for questions marks and if the count is greater than five and valid the data.

Download Products, Microsoft SQL


Leave a Reply