中国开发网: 论坛: 程序员情感CBD: 贴子 228347
Miracle
用存储过程吧
select 'a' as F, * into #t1 from authors order by au_id asc

select 'b' as F, * into #t2 from authors order by au_id desc

select * from #t1
union all
select * from #t2

drop table #t1
drop table #t2
夫习拳艺者,对已者十之七八,对人者,仅十之二三耳。拳艺之道,深无止境。得其浅者,一人敌,得其深者,何尝不万人敌耶!
我的Google Picasa相册
我的新BLOG

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录