I have a stored proc that takes one integer parameter.
I am calling this in a loop (I would rather use an In but Stored proc is outwith my control).
So I have one SqlParameter object who's value is updated each time round a loop.
I have a vague memory of there being a side effect to this? Does this ring any bells?
(.NET 2.0 / SQL Server 2005)