Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we change the Tablespace in Oracle throught JDBC?

 
Srinivas Ivaturi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I want to change the size of the Tablespace in my administration module using JDBC. Is it possible if we can change Please tell me the query that I can use to change the size of TableSpace.

Thanks for your time and Help in advance
Srinivas Ivaturi
 
Rudy Dakota
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Srinivas,
The actual statement shouldn't be too hard to find in the Oracle documentation. I have a clue that it is one of the options of the 'ALTER TABLESPACE' statement, but you can find it yourself if you do some searching at the Oracle site (I 'd have a link for you if I were at work. ).
For the rest, it seems a question of connecting to Oracle using your admin account and executing the statement (probably use Statement.execute() instead of Statement.executeQuery()).
Good riding,
Rudy.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic