I need to add around 600 columns to an existing table for testing purpose
declare @counter int
set @counter = 1
while @counter < 601
begin
ALTER TABLE Info ADD column+@counter varchar(max);
set @counter = @counter + 1
end
The column name should looks like column1,column2....column600