I'm trying to test a SQL query in SQL Server Management Studio that normally requires a multivalue parameter from the SSRS report its a part of.
I'm not sure to how hard code a multi value parameter in management studio. The report was created by a vendor, I'm just trying to make it runnable for testing outside of SSRS.
For example the parameter in SSRS is a collection of numbers that the user selects - ie "3100, 3102, 3105" would be the selections for the multivalue parameter called @object_code
I've got something like this - but it's not working.
Declare @Object_Code varchar(100)
Set @object_Code = ('3100','3102','3105')
....really long vendor written query I don't thoroughly understand...
IN(@object_code)