• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing Schema

 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is in reference to the other post I have here. I am just asking it in a more intelligent way. How do you change the Schema of a Table using JDBC. Example code would be helpful. Thanks!!!

Barry
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDBC is used to run SQL statements so if you want to run an ALTER TABLE, you would just run it using the executeUpdate() method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic