File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Can we change the Tablespace in Oracle throught JDBC? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Can we change the Tablespace in Oracle throught JDBC?" Watch "Can we change the Tablespace in Oracle throught JDBC?" New topic
Author

Can we change the Tablespace in Oracle throught JDBC?

Srinivas Ivaturi
Ranch Hand

Joined: Jan 28, 2003
Posts: 50
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

Joined: Jul 27, 2002
Posts: 54
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we change the Tablespace in Oracle throught JDBC?