Re: Get sql server sp Parameters from system tables or sp...

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Martin (martin_at_hotmail.com)
Date: 06/15/04


Date: Tue, 15 Jun 2004 19:57:33 +1200

Many thanks

cheers

martin
"SriSamp" <ssampath@sct.co.in> wrote in message
news:%23fA3OeqUEHA.2672@TK2MSFTNGP10.phx.gbl...
> 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.
> >
> >
>
>



Relevant Pages

  • Re: Get sql server sp Parameters from system tables or sp...
    ... You can use the INFORMATION_SCHEMA views in SQL Server to get at the ... contains all the parameters for stored procedures. ... > the data access application block. ... > to do this I would like to use a query that given the name of an sp will ...
    (microsoft.public.sqlserver.programming)
  • Re: Connection from two servers
    ... Try executing the following in Query Analyzer: ... >I have an sql server program which have 2 sql servers servers are registered ... >Server 'ODED' is not configured for DATA ACCESS. ...
    (microsoft.public.sqlserver.security)
  • Connection from two servers
    ... I have an sql server program which have 2 sql servers servers are registered ... the query to access to the another server by the query: ... Server 'ODED' is not configured for DATA ACCESS. ...
    (microsoft.public.sqlserver.security)
  • Re: Cant recreate CHECKs using CHECK_CONSTRAINTS?
    ... to be able to do it using ADO's OpenSchema method if possible so I can ... be provider-independent. ... > This is assuming that you are using SQL Server 2000, ... > SriSamp ...
    (microsoft.public.sqlserver.programming)
  • Re: Need help with query, please
    ... "SriSamp" wrote in message ... > HTH, ... >> varchars). ... I want the query to include the row if only one column has a>> value. ...
    (microsoft.public.sqlserver.programming)