Unanswered question

Multiple statements in a single SQL Statement action?

I want to be able to execute a stored procedure multiple times from within a single SQL Statement action. Is this possible?

The database is SQL Server. In SSMS I would do something like:
dbo.insert_result <args>;
dbo.insert_results <args>;

I need to do this for every transaction executed by the test, and while it's possible to simply execute the SQL Statement action within a loop, it would (probably) be more efficient to build a large statement and execute it once, than to loop repeatedly.

I've tried writing the same command I'd run in SSMS as the query parameter without success. I've also tried removing the GO keyword and separating the statements with a semi-colon, also without success.

Is there a way this can be done?

Ben R.
Ben R.

Ben R.

14 / 100