/ Published in: SQL
Expand |
Embed | Plain Text
declare @ID int = 10000 while @ID < 10010 begin declare @location varchar(1000) = '' declare @i int = 0 while @i<1000 begin SET @location = @location + char(33 + cast(ceiling(rand() * 80) AS int)) SET @i = @i+1 end SELECT @location SET @ID = @ID +1 end
You need to login to post a comment.
