This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes Can we execution sql script through java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Can we execution sql script through java ?" Watch "Can we execution sql script through java ?" New topic
Author

Can we execution sql script through java ?

Vikas Kumar Sahu
Ranch Hand

Joined: Dec 02, 2003
Posts: 59
Hi All,

Can we execute sql script ("name.sql") through java programe.
I am not talking about reading sql script one by one and excute.
I just want to send this sql script to oracle console.

Or any body can give other alternative I have to lot of db operation in less time.

- Vikas Kumar Sahu
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

refer this post


Shailesh


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we execution sql script through java ?