[dev] [cvs] commit: turba/lib/Driver sql.php

Matt Selsky selsky at columbia.edu
Sun Oct 28 19:31:45 UTC 2007


On Sun, Oct 28, 2007 at 01:09:08PM -0400, Michael Rubinsky wrote:
> mrubinsk    2007-10-28 13:09:08 EDT
> 
>   Modified files:
>     lib/Driver           sql.php 
>   Log:
>   Ok, I think this should do it.  Filter date range for birthday lookups in the DB for the sql driver.
>   Can someone double check me regarding portability of this across different RDBMS?  I checked the mans for postres, mySQL, mssql, and db2 and they all seem to implement this version of substr(), but I'd appreciate a second set of eyes on this one.

I just tested this on Oracle.  Works fine.

Can you change the SQL to use bind variables though?


-- 
Matt


More information about the dev mailing list