Announcement

Collapse
No announcement yet.

Insert incremental range of values in mysql

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Insert incremental range of values in mysql

    Hi,

    I need some help. I want to insert a range of values in a mysql db. I have a from with the 'From' and 'To' fields. Heres another issue, I need the values to be incremental meaning that they dont simply go from 1000 to 1099
    They would increment by 11. Lets say the value in the From field is 1000 and To field is 1050
    So I would need to insert the following numbers
    1000
    1011
    1022
    1033
    1044

    Any help would be much appreciated.
Working...
X