Subject Re: [Firebird-Architect] Feature Request: Domains in SP & Triggers.
Author Daniel Rail
Hello Ann,

Monday, October 11, 2004, 11:09:53 AM, you wrote:


> Geoff Worboys wrote;
>> > ...if this was provided, we would get
>> > inundated with complaints that the constraints and defaults were
>> > not applied

> At 09:35 AM 10/11/2004, Daniel Rail wrote:

>>As long as it is well documented, we can always tell them to RTFM.


> Maybe it's just that this is a Monday, a local holiday,

It's a local holiday here too.

> and a beautiful
> day

Lucky you. Here it's rain and supposed to be a downpour of almost 2
inches of rain later today.

> and I'm stuck in the office, but as a general rule, features should
> be designed so they work as expected.

No arguments from me. But, the "work as expected" can defer from
person to person. In this case, with the domains, I would be happy
with just using the datatype of the domain. And, I'm sure others
would want the constraints as well, which could be beneficial in most
cases. As well as supporting the default values, but that can cause
problems if passing a parameter a NULL value which might be expected
to pass would be changed to the default value of the corresponding
domain, which is used for the datatype of that parameter. But, then
again, that would be the user's problem.

> RTFM doesn't win hearts and minds.

It's was just a thought, I usually will give the information and where
to find it. I know if I can do without RTFM, I would. But sometimes,
you have to. I usually RTFM before asking a question, but not
everybody does that.

--
Best regards,
Daniel Rail
Senior Software Developer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)