8 messages in com.mysql.lists.plusplusTable Exists? (or error number)
FromSent OnAttachments
Jing Chen14 Nov 2002 10:22 
Pablo Fischer14 Nov 2002 16:59 
Pablo Fischer14 Nov 2002 17:53 
Pablo Fischer15 Nov 2002 15:17 
Daniel Löfquist15 Nov 2002 15:27 
Pablo Fischer16 Nov 2002 17:34 
Pablo Fischer20 Nov 2002 11:31 
Peter A. Kerzum21 Nov 2002 04:17 
Subject:Table Exists? (or error number)
From:Pablo Fischer (exil@yifan.net)
Date:11/20/2002 11:31:25 AM
List:com.mysql.lists.plusplus

Whats up;

I have a question.. I have the 95% of my application done, now.. exists a function that return true or false (or something like that) if a table already exists?.

I need to create the table JUST if it doesnt exists.. :(

Another option could be, selecting a little info from a table, catch a BadQuery and check the error number, and if it the error number its the name for: Table Exists.. dont create the table.

So another question could be: How can I get the error number?

Paul Fischer