摘要: 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 阅读全文
posted @ 2013-05-24 14:19 namehwh 阅读(143) 评论(0) 推荐(0) 编辑