Una prima soluzione che mi viene in mente è la seguente:
La ritenete una buona soluzione? Ci sono altre alternative?codice:DECLARE @MyCounter INT SET @MyCounter = 0 -- Test the variable to see if the loop is finished. WHILE (@MyCounter < 1000) BEGIN INSERT INTO Mia_Persona VALUES ('Paolino', 'Paperino', 'Paperopoli 31', @MyCounter) SET @MyCounter = @MyCounter + 1 END
Grazie ancora.![]()