中国开发网: 论坛: 程序员情感CBD: 贴子 244796
jesc: Fish ~~HELP!!
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 ?

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录