I have a customer database I would like to add a set of Card numbers to. In the table there are multiple columns that will be the same, however the Card number will increase by 1 until finished. So for example… I want to add Gift cards 1 – 250 with the other columns the same… so it would like something like this:
Cardnum price booktype service
1 9.99 1 12
2 9.99 1 12
3 9.99 1 12
etc etc… This would repeat until cardnum was ‘250’ Is it possible to do this with an SQL Query?
Thanks.
@jimdrang already provided the answer, but since I was just finishing a full example with the CREATE TABLE and a stored procedure to do the job, I guess I might as well post it for the benefit of anyone looking for this down the road.
Hope it helps!