Get a list of SQL Stored procedure parameters from database

G

Gurnandan

Hi,

I am trying to modify a common function in SQLHelper class
of the DAAB, which will return the SQL parameters for a
stored proc. I am passing the connection string and the
stored procedure name to it. How do I get the parameters
from the database. The reason, I need to do this, because
I am using Beta2 version and Deriveparameters function
doesnot work in beta 2. How can I achieve the same
functionality?


Please Help!!!!


Thanks in advance.
 
A

anouk

You could use the following command in sql server:

exec sp_help 'mystoredprocedure'

this will give you detailed info on the stored procedure, including the
parameters.

Hope this helps...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top