• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC

 
Chaitanya Reddy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I want to allow the user to create his own database(MS ACCESS) through java interface .I wanmt to use jdbc-odbc statements.Can I do that?Please solve this problem.
Thanking you,
A.Chaitanya Reddy.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can. Depending on what kind of interface you have, you can have the user enter the table name, insert statements, etc. You can then use the executeUpdate() method to create and populate the table. You can search this form for more info. That has been discussed before.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic