Sql C Foreach Loop Skipping Some Values During Iteration Stack

Sql C Foreach Loop Skipping Some Values During Iteration Stack