|
Posted by Balazs Wellisch on 01/01/06 04:21
>
> This way, I can change database factories (to connect to different
> databases) with ease and, since the interface implementation contains all
> the SQL, there is only one file I need to scan to adjust for the variances
> in the SQL languages. (e.g. limit 1 in MySQL vs. count = 1 in Oracle)
>
Hmmm, ADODB already takes care of that for you. It also deals with date
formatting and other issues. Plus it provides useful features like caching
and SQL logging. Why reinvent the wheel?
Balazs
Navigation:
[Reply to this message]
|