Re: A MySQL Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




    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/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux