Viewing post 1 (of 1 total)
Looks wrong, if you go more than 1 above the maximum char number then it will loop through again.
if you change the WHILE statement from while (@counter < @Occurrence)...
December 1, 2010 at 10:22 am
#1257489