declare @count int
    declare @OrderID nvarchar(50)
 declare  @VariationOrderTable table(IndexID int identity(1,1),ID nvarchar(50))
 declare @index int
 insert into @VariationOrderTable

 
 set @index=1;
DECLARE @subject NVARCHAR(360);  
 while(@index<=@count)
 begin

  set @index=@index+1;
 end

posted on 2011-09-14 17:10  万德源  阅读(342)  评论(0编辑  收藏  举报