Re: MS SQL Server 2000 feature or bug?
- From: "Perry Way" <please_n-0-spAM@xxxxxxxxxxx>
- Date: Fri, 6 Jan 2006 10:05:35 -0700
Hi Brian,
According to SQL Server Help file: "The INFORMATION_SCHEMA.PARAMETERS view
is based on the sysobjects and syscolumns system tables". Then, later in
the table of columns returned that explains each field, it mentions for
PARAMETER_MODE, type nvarchar(10), "Returns IN if an input parameter, OUT if
an output parameter and INOUT if an input/output parameter." Oh, really???
;)
syscolumns doesn't contain a column to store whether a parameter is an INPUT
parameter. There is only a column to store if it has OUTPUT capabilities.
I have not found a single case in my entire database of well more than 100
stored procedures (most have INPUT and OUTPUT parameters) of any
differential between OUTPUT and INPUT OUTPUT.
Hmmmm... seems to me this is a feature, not a bug! (Its an extra feature
listed in the help file not implemented by the product!) Who knows.. maybe
in a decade or two they might figure this one out! ;) IMHO, SQL Server is
still way more mature than some other products which lack these sort of
"features", but this is rather frustrating to say the least. Why do we
spend the time figuring out if we should declare INPUT OUTPUT versus OUTPUT?
hmmm....
PW
p.s. does anyone reading this thread know of a product that Delphi reads
this value from correctly? Just curious. Back when I was doing a lot of
Interbase development I never had the need.. and thus don't recall if
Interbase had its act together or not. What about Oracle? mySQL?
Informix? Sybase?
"Brian Hollister" <bhollisterATfuturaintlDOTcom> wrote in message
news:43be8f5d$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I would not be so quick to point the finger, but anyway...
>
> Maybe you can put the INFORMATION_SCHEMA.PARAMETERS view to your use
> somehow???
>
> Hth,
>
> brian
.
- Follow-Ups:
- Re: MS SQL Server 2000 feature or bug?
- From: Brian Hollister
- Re: MS SQL Server 2000 feature or bug?
- References:
- MS SQL Server 2000 feature or bug?
- From: Perry Way
- Re: MS SQL Server 2000 feature or bug?
- From: Brian Hollister
- MS SQL Server 2000 feature or bug?
- Prev by Date: Re: MS SQL Server 2000 feature or bug?
- Next by Date: Re: MS SQL Server 2000 feature or bug?
- Previous by thread: Re: MS SQL Server 2000 feature or bug?
- Next by thread: Re: MS SQL Server 2000 feature or bug?
- Index(es):
Relevant Pages
|