Re: Re: One more MDB2 Portability question

From: Date: Mon, 07 Apr 2008 23:02:32 +0000
Subject: Re: Re: One more MDB2 Portability question
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28758@lists.php.net to get a copy of this message
Dmitri wrote:
http://www.xaprb.com/blog/2005/09/25/insert-if-not-exists-queries-in-mysql/ http://www.xaprb.com/blog/2006/02/21/flexible-insert-and-update-in-mysql/
These links mention INSERT IGNORE, which is what I want to use, but I am not sure if this is mysql specific or not. Will INSERT IGNORE work with other databases?
no. The links above tell you how to do the very same thing but in a portable way. INSERT IGNORE is mysql-specific. Best regards, -- 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

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