Subject | Re: [firebird-support] Re: weird behaviour [typo corrected] |
---|---|
Author | Helen Borrie |
Post date | 2003-10-08T00:28:47Z |
At 11:32 PM 7/10/2003 +0000, you wrote:
supposed to know how to interpret what users want and how to compose
constants. :-)
h.
>--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>Actually, SPs are made for applications, not users, and applications are
>wrote:
>
> > SPs expect constants as input
>
>I - as a user - expect to be able to input whatever I like and the SP
>cast my expression into the expected type of parameter.
>
>I guess that SPs are made for users and not the other way around :)
supposed to know how to interpret what users want and how to compose
constants. :-)
>I suspect that the related code is already there, because in theMaybe, but the assumption is wrong. The SELECT works on output, not input.
>SELECT instance the casting is done alright.
>Besides, this different behaviour (btw SELECT and EXECUTE) surprisesExactly. That's why you write applications for users.
>me and as a rule a user should never be surprised :)
h.