Hello,
which database do you use ? This would be very helpful
If you only want to find a comma in a string use
for ORACLE => SELECT INSTR('10,20,30,40', ',')
if the comma is found it returns the position otherwise it return 0
Hope that helps ?
Regards
Manfred Peter
(Alligator Company)
http://www.alligatorsql.com