Java DatabasesDiscussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

I also want this code for my application.
I have one table "data_table" in "local_data" Microsoft Access database file.
I want my application first check whether this table exit or not. If exit then delete it, if not exit do nothing.
So what I need to change in your code.
In your code:

Code:

tableName = checkTable.getString("TABLE_NAME");

here I need to change "TABLE_NAME" with "data_table"?
And what I need to change here: