Get sql server sp Parameters from system tables or sp...
From: Martin (martin_at_hotmail.com)
Date: 06/15/04
- Next message: Lasse Edsvik: "Re: function + text problem"
- Previous message: oj: "Re: Help creating a job to monitor transaction in a table"
- Next in thread: oj: "Re: Get sql server sp Parameters from system tables or sp..."
- Reply: oj: "Re: Get sql server sp Parameters from system tables or sp..."
- Reply: SriSamp: "Re: Get sql server sp Parameters from system tables or sp..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Jun 2004 18:46:03 +1200
Hi,
I have been designing a lot of data-wrappers for my sp's using vb.net and
the data access application block.
seeing as all of these follow a similar pattern I though I might automate
the process by writeing some code that will "generate code" for the data
access wrapper.
to do this I would like to use a query that given the name of an sp will
return the name of all parameters, the type, size (will be needed if it is a
varchar) and the parameters order, as well as if they are input or output
parameters, not sure if you can detect a return value parameters???
could anybody please point out the best way for me to do this please, I am
guessing that I will have to query the system tables somehow or use a system
sp.
any help is graetly appreciated.
cheers
martim.
- Next message: Lasse Edsvik: "Re: function + text problem"
- Previous message: oj: "Re: Help creating a job to monitor transaction in a table"
- Next in thread: oj: "Re: Get sql server sp Parameters from system tables or sp..."
- Reply: oj: "Re: Get sql server sp Parameters from system tables or sp..."
- Reply: SriSamp: "Re: Get sql server sp Parameters from system tables or sp..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|