File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes How to run .sql file in db2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to run .sql file in db2?" Watch "How to run .sql file in db2?" New topic

How to run .sql file in db2?

Naveen R R

Joined: May 04, 2001
Posts: 20
I have a .sql file containing INSERT statements. Could anyone please tell me as to how do I run it in db2 version 7? Also, do I need to add any other statements in the file apart from the INSERT statements (like connect to...)?
I agree. Here's the link:
subject: How to run .sql file in db2?
It's not a secret anymore!