|
Posted by Tony on 07/08/05 22:20
Fire Juggler wrote:
> On my website, the user can create tables, but how do i check if the
> table exists, and if it doesn't it creates the table?
> Thanks
I don't know about other DD's but in MySQL:
IF NOT EXISTS - see the page on CREATE TABLE syntax in the MySQL manual:
http://dev.mysql.com/doc/mysql/en/create-table.html
--
Tony Garcia
Web Right! Development
Riverside, CA
www.WebRightDevelopment.com
Navigation:
[Reply to this message]
|