Question about MDB2 portability of SELECT

From: Date: Wed, 12 Mar 2008 19:16:10 +0000
Subject: Question about MDB2 portability of SELECT
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28634@lists.php.net to get a copy of this message
Hello! I am only familiar with mysql database, so I am not sure how to best write this query. Basically in mysql I use a query SELECT * from sometable where message_id IN('id2', 'id3', 'id4') This is convenient to select multiple rows when you have a comma separated list of values. I am not sure if this statement works in other databases or is it only a mysql-specifig? If it's only workng with mysql, then what's the best way to write this query so it will be portable and work with any database supported by MDB2? -- Open Source ALL content management with streaming video http://wiki.sharedlog.com

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