declare @i int set @i=1 while @i<(10000)beginINSERT INTO [Table]( [IDi] ,[IDo] ,[Synci] )( SELECT top 1 [IDi] ,@i ,[Synci] FROM [Table] )set @i=@i+1end