[阅读: 338] 2005-11-23 05:29:14
i want to show this:
select * from table1 where field in ('aa','bb')
======================================
declare @vchr varchar(100)
set @vchr ='aa','bb'
select * from table1 where field in (@vchr)
running display error....
==================================================
if not use exec(@sql), how to express ?