[Info-ingres] When is an empty string an integer?
Roy Hann
specially at processed.almost.meat
Wed May 11 13:44:06 UTC 2016
Martin Bowes wrote:
> FYI. Geraint Jones has informed me that:
> Various DBMS's disagree on how to handle cast('' as integer).
>
> Ingres : 0.
> Oracle : NULL.
> Postgres : Error.
Oracle, wrong as usual--but not as wrong as Ingres on this occasion!
Postgres gets my nod on this one.
Roy
PS: I wonder if Ingres' alignment with MySQL's foolishness is just
accidental? I do hope so.
More information about the Info-ingres
mailing list