我要写一个sql查询语句,select * from table where id in ('a','b','c','d');
我要写一个sql查询语句,select * from table where id in ('a','b','c','d');
日期:2014-05-29 10:24:24 人气:1
declare @val varchar(100)=''declare @sql varchar(max)set @val='''a'''+','+'''b'''+','+'''c'''+','+'''d'''set @sql='select *