New answers tagged

0 votes

how can I fix my SQL for loop so that the index is not out of bounds?

If the order of the values is not important, you could simply do: id = 1 for i = 1 to 4 do for j = 1 to 4 do INSERT(id, i, j) id += 1 If you ...
user avatar
  • 7,091

Top 50 recent answers are included