Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public void createTables(){
  2. try {
  3. String query = "CREATE TABLE IF NOT EXISTS `nombre` (`uuid` varchar(36) UNIQUE, `coins` int(999999));";
  4. PreparedStatement p = connection.prepareStatement(query);
  5. p.execute();
  6. p.close();
  7. } catch (SQLException e) {
  8. e.printStackTrace();
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement