Re: A MySQL Question

From: Date: Mon, 08 Dec 2008 02:24:48 +0000
Subject: Re: A MySQL Question
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-284297@lists.php.net to get a copy of this message
    And 'exists' is not for mysqldump.
DROP TABLE IF EXISTS mytable;
"if exists" can be used in lots of places other than "drop table", like triggers, functions and i'm sure other things.
I said, I've seen EXIST in a result of a mysqldump before, which is not wrong is it? Unless I'm hallucinating... Or is EXISTS something completely different?
Yes it is completely different. http://dev.mysql.com/doc/refman/5.0/en/exists-and-not-exists-subqueries.html -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#284297) next »