DELIMITER //
CREATE PROC InserimentoValori()
BEGIN
DECLARE caratteri varchar(30);
set caratteri = 'abcdefghijklmnopqrstuvwxyz';
DECLARE x INT DEFAULT 1;
WHILE x <=100000 DO
INSERT INTO Persona(nome,cognome,eta) VALUES((SELECT caratteri = substring(caratteri +1),(SELECT caratteri = sebstring(caratteri +1),(SELECT floor(rand() * 99) AS randNum));
SET x = x+1;
END WHILE
END //