2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by BitBlt
0

I believe you are trying to use @TestRunId in the wrong scope in line 17. You may have to do something like:

...
AND TestRunID = ' & @TestRunId & ')')
...

to include the variable from the proper scope. Not tested, just an observation. sorry about the formatting...not having all the single-quotes from above makes it a little ugly.

As far as working examples, you should probably just go to Technet or Google and check there.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.