Runtime TStoredProc for MS-SQL?

Hi everyone,

how can I run-time dump a previously-generated MS-SQL script into a
TStoredProc, then execute it?

I need to be able to process any script that my app receives against a
These scripts can be plain SQL, but they can also be generated by MS-SQL.
For these last ones a TQuery does not seem to work, so I thought TStoredProc
might do the trick.

Or is there another way?

Thanks in advance,