摘要:
declare @bianliang int ; set @bianliang =1DECLARE @b varchar(100)DECLARE @c varchar(100);begin -----循环更改数据库中的表数据while @bianliang<21beginselect top(1) @b = gg from abce where bh not in (select top(@bianliang-1) bh from abce order by bh) order by bhselect top(1) @c = bh from abce a where bh not in 阅读全文