Jump to content

automated query for multiple promo codes


kabucek

Recommended Posts

hello,

 

I have this query for creating one code at a time

 

INSERT INTO `database1`.`table1` (

`couponCode`,

`pageCount`

)

VALUES (

'promo-001002', '2'

);

 

but this will create only one code.

I need a query that will create 200 codes with starting number  "-001002".

Is there a way to do it?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.