DELIMITER $$ DROP PROCEDURE IF EXISTS insert_ten_rows $$ CREATE PROCEDURE insert_ell_rows () BEGIN DECLARE crs INT DEFAULT 0; WHILE crs < 11 DO SET crs = crs + 1; Insert into events Values(`img\air_show\air (`+crs`).jpg`,`Air Show`,`Air Base`,`0`); END WHILE; END $$
Insert into events Values('img\air_show\air (' + crs + ').jpg','Air Show','Air Base','0');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)