Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How check if table exist in MS Access using SQL Standard or Java ?

user13329458Apr 10 2009 — edited Apr 11 2009
Hi!
I check if table exist and then create table if it is not exist using standard sql:
SQL:
create table if not exists table_name (name char(20), occupation char(20))

OK, it's work on MySQL, but on MS Access it NOT work!.

I need to write SQL query (or java code) that work on all databases (MS SQL, MS Access, MySQL, Oracle, SQLite and so on).
How?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2009
Added on Apr 10 2009
2 comments
450 views