I need to get a count on the number of values in a string.
For instance, my query returns something like this:
'1000,2000,3000'
I need a count of 3 returned (as a varchar). Or if the data returned is '1000', I need a count of 1 returned.
Any help would be appreciated.
For instance, my query returns something like this:
'1000,2000,3000'
I need a count of 3 returned (as a varchar). Or if the data returned is '1000', I need a count of 1 returned.
Any help would be appreciated.