Home Forums SQL Server 2005 Development String Execution in SQL RE: String Execution in SQL
Mahesh Bote
SSCrazy Eights
Points: 9107
More actions
June 26, 2008 at 10:30 am
#834837
[font="Verdana"]
Try this...
declare @i varchar(100)
set @i = '''as400'',''cps'''
select * from t_system where systemcode in (@i)
Mahesh
[/font]
MH-09-AM-8694