4
I’m trying to fill a table of mine with a loop in sql server follows the code:
declare @i int
set @i =1
while @i < 5
begin
INSERT INTO TABELA VALUES('teste')
set @i = @i + 1
end
I would like to concatenate there the name of the table in the Insert with the number of the variable @i
Creating Tabela1,table2,Tabela3 ...etc