You could try something like this:-
Code:
DECLARE @loop INTEGER
DECLARE @loop_hi INTEGER
CREATE TABLE #numbers (
row_name VARCHAR(30)
)
SELECT @loop = 1,
@loop_hi = 8000 / 50
WHILE @loop <= @loop_hi
BEGIN
INSERT INTO #numbers
(row_name)
VALUES('some string' + CAST(@loop AS VARCHAR(20)))
SELECT @loop = @loop + 1
END
Although you probably need to limit the number of loops.
As to whether there is a better way I'd have to know more details about the problem.
Kep.