2009年4月7日星期二

Re: [fw-db] Storing a Zend_Date in a Zend_Db_Table

Read more carefully the Daryl email : he's on Oracle database, not MySQL.

On Mon, Apr 6, 2009 at 5:22 PM, monk.e.boy <john.glazebrook@guava.com> wrote:
>
> Or just :
>  $paymentData = array(
>          'DATE' => new Zend_Db_Expr('NOW()'),
>          'USERID' => $userId,
>          'AMOUNT' => $amount
> );
>
> only because it screams NOW to me, where as SYSDATE doesn't :)
>
> monk.e.boy
>
>
> Thomas VEQUAUD wrote:
>>
>> Or just :
>>  ...
>>
>
> --
> View this message in context: http://www.nabble.com/Storing-a-Zend_Date-in-a-Zend_Db_Table-tp22838127p22911013.html
> Sent from the Zend DB mailing list archive at Nabble.com.
>
>

--
Thomas VEQUAUD http://thomas.vequaud.free.fr/
Expert EPITECH en Ingénierie Informatique
Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

没有评论: