输入banner图图片脚本导航/分类

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

 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集合,和临时表的使用

标签: