I wish to do something like the following:
declare @FrameNumber nvarchar(20)
set @FrameNumber = '(p1, p2)'
select from myTable where c1 in @FrameNumber
What is the correct syntax for this?
(for note: I need to pass the value of @FrameNumber in as a parameter to the stored procedure... so I have to at least use the string "p1, p2")
would prefure and answer that was SQL 7 compatible, but SQL 2005 would be sufficient.