http://blog.csdn.net/challeng_everything/article/details/32925881
Create table #tempTable
(
LHRQ u5_rq8,
SYXH u5_mc64,
YEXH u5_mc64,
ZYHM u5_mc64,
HZXM u5_mc64,
CWDM u5_mc64,
KSDM u5_mc64,
KSMC u5_mc64,
BQDM u5_mc64,
BQMC u5_mc64,
DM u5_mc64,
MC u5_mc64,
LHBZ u5_mc64,
LBDM u5_mc64,
LBMC u5_mc64,
YSDM u5_mc64,
YSMC u5_mc64,
GZBZ u5_mc64,
RYRQ u5_rq8,
RYZDMC u5_mc64,
YGXH u5_mc64,
BGK u5_mc64
)
insert into #tempTable exec usp_yngr_bfyj_bfyjdetail @date='20170317',@ksbqbz=0,@ksbqdm='8116',@yjlb=0,@yjts=6
select * from #tempTable where BGK = '报告卡'