Re: Get sql server sp Parameters from system tables or sp...
From: SriSamp (ssampath_at_sct.co.in)
Date: 06/15/04
- Next message: Anthony Faull: "Re: what word will stop everything after it in a SQL script?"
- Previous message: oj: "Re: System table with DTS Package Names"
- In reply to: Martin: "Get sql server sp Parameters from system tables or sp..."
- Next in thread: Martin: "Re: Get sql server sp Parameters from system tables or sp..."
- Reply: Martin: "Re: Get sql server sp Parameters from system tables or sp..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Jun 2004 12:41:01 +0530
You can use the INFORMATION_SCHEMA views in SQL Server to get at the
information that you want. For example: INFORMATION_SCHEMA.PARAMETERS
contains all the parameters for stored procedures.
-- HTH, SriSamp Please reply to the whole group only! http://www32.brinkster.com/srisamp "Martin" <martin@hotmail.com> wrote in message news:%23z47vPqUEHA.3332@tk2msftngp13.phx.gbl... > 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: Anthony Faull: "Re: what word will stop everything after it in a SQL script?"
- Previous message: oj: "Re: System table with DTS Package Names"
- In reply to: Martin: "Get sql server sp Parameters from system tables or sp..."
- Next in thread: Martin: "Re: Get sql server sp Parameters from system tables or sp..."
- Reply: Martin: "Re: Get sql server sp Parameters from system tables or sp..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|