Possible Duplicate:
How can I retrieve a list of parameters from a stored procedure in SQL Server
I'm using Massive to create a generic stored procedure executor. Basically, I have a function that takes the name of a procedure, and a variable number of parameters. Then, I blindly attempt to execute that stored procedure with the passed parameters and either return the result, or handle errors.
My question is: is there a way for me to determine what parameters the stored procedure expects, before calling it?