T
TF
Hi
Lets say I have a query like this one:
SELECT column1 FROM table WHERE column2 IN (2,5,8)
How do I substitute the 2,5,8 values with @ parameters and sqlparameter
objects? Is it possible?
I am currently just changing the commandtext of the sqlcommand by inserting
the string og comma separated values, but this hurts performance AFAIK.
Regards,
TF
Lets say I have a query like this one:
SELECT column1 FROM table WHERE column2 IN (2,5,8)
How do I substitute the 2,5,8 values with @ parameters and sqlparameter
objects? Is it possible?
I am currently just changing the commandtext of the sqlcommand by inserting
the string og comma separated values, but this hurts performance AFAIK.
Regards,
TF