Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to run alter command in Access

 
dipin mathew
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been able to run the create and drop tables using the sql statements in Microsoft Access but the alter command to add columns is not working. Code is..
stmt.executeUpdate(" alter table tablename add (address VARCHAR(15) ,city VARCHAR(15) ");
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the exception message/number?
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic