Re: MySQL, PHP or ghost?
| From: | Martin Marques | Date: | Thu, 28 Aug 2003 12:36:34 +0000 |
| Subject: | Re: MySQL, PHP or ghost? | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30179@lists.php.net to get a copy of this message | ||
El Mié 27 Ago 2003 11:34, Ignatius Reilly escribió:
> Hmmm...
>
> You have a point; the doc is not quite clear.
>
> "Illegal YEAR values are converted to 0000"
>
> My understanding is that any illegal value will be first converted into
> '0000', then into the corresponding year inside the 1901-2155 interval, ie
> 2000
>
> Well, all this is quite logical. I have no quarrel with this behaviour.
Not at all. This is totally ilogical.
Wrong date values should give error messages.
See what happens when you try to bend a bad input value:
http://archives.postgresql.org/pgsql-general/2003-07/msg00599.php
Please don't use MySQL in monetary aplications!!
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------