|
Java™ by example!
|
|
|
How do I create a database table?
Check out the MySQL syntax for CREATE TABLE here. Here's an example that creates 4 tables in the database esus. Create your SQL create table query string and call executeUpdate on a Statement. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|