another MDB2 portability question

From: Date: Wed, 26 Mar 2008 22:55:15 +0000
Subject: another MDB2 portability question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28693@lists.php.net to get a copy of this message
Hello! 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? -- Open Source ALL content management with streaming video http://wiki.sharedlog.com

« previous php.pear.general (#28693) next »