[dev] [cvs] commit: turba/lib Driver.php api.php turba/lib/Driver sql.php
Chuck Hagenbuch
chuck at horde.org
Mon Oct 29 17:35:53 UTC 2007
Quoting Jan Schneider <jan at horde.org>:
>> I was under the impression that not all RDBMS actually implemented the
>> ANSI version of the substring() command. In particular (at least some
>> versions of) MS SQL implement it in the (string, from, to) kind of way.
>
> That sucks. Does that mean that not all RDMBS implement the ANSI
> version, but all implement a non-standard version that works
> everywhere the same? I wonder what standards are for.
Can we leave it as standard and put in a switch on dbsyntax for ones
that don't implement it? If the non-standard standard works with
DATETIME fields, though, that's fine too.
> You can always add more function arguments when necessary. There is no
> advantage in passing a hash, it's a private function anyway.
To a point... it is an internal function though so changing how args
are passed is always possible if we end up with too many.
-chuck
More information about the dev
mailing list