如何把两个存储过程返回的记录合并在一起??? 用union select * from t1 union allselect * from t2 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 exec proc1select * into #t1 from tableexec proc2select * into #t2 from Tableselect * from #t1union allselect * from #t2drop table #t1drop table #t2 create proc tttasproc1的所有内容union allproc2的所有内容这样可以吗? 呵呵,解决了,最后用union和视图一起解决了,就是很复杂,估计是我的数据库设计出现了问题,要好好想想了多谢大家 :D 在线等 谢谢!! 触发器问题!!!急啊! 人工智能无代价宽度优先算法 求一存储过程,请各位老大帮忙 大家帮忙,一问题大家不太忙就点一下。小弟谢谢了 在频繁更新的字段上建立索引是不是会有什么问题? Access转SQL server 问题。 sql简单问题(急) 谁给解决一下 解决了马上给分 怪了,这个case语句就是过不去,老是说有错误,各位帮我看看,在线等待 求助于各位大侠 批量数据导入的时候如何转化格式问题!!!急!!!
select * into #t1 from table
exec proc2
select * into #t2 from Table
select * from #t1
union all
select * from #t2
drop table #t1
drop table #t2
as
proc1的所有内容
union all
proc2的所有内容这样可以吗?