table exists?

hi

probably this question must have been asked several times, but cudn't search n find on forum; further on google also cudn't get appropriate link,

my question is how can I check:

while making a new table in the database; check whether the table already exists; if true : do something - else : make new table

Will database metadata help; how? anyother links or suggestions wud be helpful

thanks

[434 byte] By [max_nya] at [2007-10-2 11:46:12]
# 1
DatabaseMetaData.getTables();
MartinHilperta at 2007-7-13 5:54:36 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...