You can if you want to do some dynamic SQL, but I think it is not very competitive.
DECLARE @Status nVARCHAR(400),
@SQL nvarchar(500)
SET @status = '''Closed'''+','+'''OPEN'''
set @SQL = '
select * from [MYTABLE] where status in('+@status +')'
exec sp_executesql @SQL
GO
source
share