110,571
社区成员
发帖
与我相关
我的任务
分享
select * from Department where deptid like '%09%'
string deptid="09";
string sql=" where instr(','+deptid+',','" + deptid + "')>0"
string deptid="01,03,09";
//開始構造where語句
deptid=","+deptid+",";
string sql=" where charindex(','+deptid+',','" + deptid + "')>0"