当前位置:Gxlcms > 数据库问题 > sql存储过程传入ID集合,和临时表的使用

sql存储过程传入ID集合,和临时表的使用

时间:2021-07-01 10:21:17 帮助过:4人阅读

 into #t  from dbo.Split(‘12,12,1,2‘,‘,‘)

然后用 临时表 #t  关联 相应的表 

select *  into #t2  from Loanee as a   left join  #t b  on a.applicationid=b.name

 

select  * from  #t2

 

sql存储过程传入ID集合,和临时表的使用

标签:

人气教程排行