Subject | Re: [firebird-support] What about: New Buil-in function Bool() or Boolean() or BoolCast() |
---|---|
Author | Fabiano Bonin |
Post date | 2007-08-03T15:45:16Z |
Emel,
In my opinion, a true boolean datatype is desired to fb, but until it
doesn't exists, we can live without it, as we have been living up to
now.
I don't think it worth to create a new set of functions, and
documentation, and support then, to replace 'IF VAR = 'T'' for 'IF
BOOLEAN('T')' for a while, and to deprecate then when a boolean
datatype is implemented.
And, as a portuguese speaker, i could argue that in my language 'S'
and 'N' are equivalente to 'Y' and 'N', and anyone could ask to put
their native language letters inside this function, and what would
happen with a language where the word YES starts with the letter 'N'?
In my opinion, a true boolean datatype is desired to fb, but until it
doesn't exists, we can live without it, as we have been living up to
now.
I don't think it worth to create a new set of functions, and
documentation, and support then, to replace 'IF VAR = 'T'' for 'IF
BOOLEAN('T')' for a while, and to deprecate then when a boolean
datatype is implemented.
And, as a portuguese speaker, i could argue that in my language 'S'
and 'N' are equivalente to 'Y' and 'N', and anyone could ask to put
their native language letters inside this function, and what would
happen with a language where the word YES starts with the letter 'N'?
On 8/2/07, eMeL <emel@...> wrote:
> I have an idea of new feature.
>
> http://tracker.firebirdsql.org/browse/CORE-1393
>
> eMeL
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>