• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can we change the Tablespace in Oracle throught JDBC?

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic