declare @bussHallId nvarchar(255)= '2,3'
declare @strWhere nvarchar(255)= ''
declare @strMain nvarchar(500)
if(@bussHallId is not null)
set @strWhere = @strWhere + ' and bh.ID in ('+@bussHallId+')' set @strMain = ' select * from T_BussHall bh
where 1 =1 ' +@strWhere exec(@strMain)

最新文章

  1. 【工具使用】mac电脑使用技巧
  2. Netron源码解读(一):GraphControl画布对象
  3. [译]Dynamics AX 2012 R2 BI系列-规划分析的注意事项
  4. 使用MySQL制作SNP146数据库
  5. 过滤表名 & 拼接字符串
  6. iOS 中 为UIView添加背景图片
  7. balabalabala
  8. LINQ-to-SQL那点事~LINQ-to-SQL中的数据缓存与应对
  9. Opencv Linux环境搭建(2)
  10. linux驱动的入口函数module_init的加载和释放【转】
  11. C语言一个简单的闹钟程序
  12. discuz云平台报调用远程接口失败的问题分析和解决
  13. cocos2dx3.1.1+cocosstudio+lua问题总结
  14. [转]Android 使用Scroller实现绚丽的ListView左右滑动删除Item效果
  15. CodeForces 631C Print Check
  16. 常见排序算法-Python实现
  17. web中关于垃圾回收的一些观点
  18. js解决IE8不支持html5,css3的问题(respond.js 的使用注意)
  19. [USACO17FEB]Why Did the Cow Cross the Road I S
  20. React(四)组件生命周期

热门文章

  1. [bzoj3306]树_dfs序_线段树_倍增lca
  2. Linux系统备份还原工具4(rsync/远程数据同步工具)
  3. Ubuntu 16.04安装Memcached(单机)
  4. Ubuntu 16.04安装Ubuntu After Install工具实现常用软件批量安装
  5. 使用Charles进行网络抓包
  6. Vijos P1023Victoria的舞会3【贪心+DFS求强联通分量】
  7. python 简单连接mysql数据库
  8. Hiho1041 国庆出游 搜索题解
  9. ImportError: cannot import name _imaging
  10. Vijos 1451 圆环取数 【区间DP】