Re: Another MDB2 portability question.
| From: | Lorenzo Alberton | Date: | Wed, 26 Mar 2008 22:57:10 +0000 |
| Subject: | Re: Another MDB2 portability question. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28694@lists.php.net to get a copy of this message | ||
Dmitri wrote:
Is this type of sql UPDATE statement portable: "UPDATE THREADS SET total_replies = (total_replies+1) WHERE id = '$intThreadId'" I mean, to increment a value of 'total_replies' field I am adding a number to existing value of this field. It works with MySQL, but will it work with other databases supported by MDB2?yes -- Lorenzo Alberton http://pear.php.net/user/quipo ________________________________________________________________________ Quipo Free Internet: sicuro e veloce senza costi di attivazione e senza canone, 2 e-mail da 25 Mb, 150 Mb di spazio web e molto di piщ! Registrati gratis: http://www.quipo.it