}
«网站首页

jierry

关注此人
把jierry加为好友
附言:



最新动态
  • jierry 评论博客:SQL点滴25—T-SQL面试语句,练练手 2011-10-09 10:33
    (select top 1 value from #table2 t where t.id=@id)
    update @table1 set value+=@value where id=@id
    if @@rowcount=0
    begin
    insert into @table1 values (@id,@value)
    end
    delete from #table2 where id=@id and value=@value
    end
    select * from @table1 t...
Top