This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we change the Tablespace in Oracle throught JDBC?

 
Srinivas Ivaturi
Ranch Hand
Posts: 50
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic