in reply to Re^3: Changing foreach loop for a while loop
in thread Changing foreach loop for a while loop

If you array is huge, you could also create a temporary table, put the values into the temporary table, and perform a join.
  • Comment on Re^4: Changing foreach loop for a while loop