Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with SQL statement and Java.

Status
Not open for further replies.

KrisSimonis

Programmer
Jun 28, 2002
37
0
0
NL
Ok, here is the situation:
I'm using an oracle 9.0.something database and connecting
to it using the jdbc drivers. This works fine however,
when I try to execute a create tablespace statement through the connection object, I'm getting an error that the MAXSIZE is incorrect or missing. However, when I execute the same query in SQL plus, it works just fine.
Anybody got any ideas on what's wrong?
This is the statement:
<tt>
CREATE TABLESPACE TASData
DATAFILE 'd:\\oracle\\oradata\\TASDATA\\TASData.dbf'
SIZE 200K REUSE AUTOEXTEND ON NEXT 50K MAXSIZE 500M;
</tt>


Kris Simonis
Topdesk Information Systems,
Application Server Development

&quot;You haven't seen the last of Meeaaaarrrrghh!!!&quot;
- Several bad guys in several bad movies

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top