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 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to run .sql file in db2?" Watch "How to run .sql file in db2?" New topic
Author

How to run .sql file in db2?

Naveen R R
Greenhorn

Joined: May 04, 2001
Posts: 20
Hi,
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...)?
Thanks,
Naveen
RamasahayaN@NIBCO.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run .sql file in db2?
 
Similar Threads
DB2
DB2 v9 slower than DB2 v8 while inserting DDL and DML Scripts using Ant script
DataBase Script
Comma in db2
Back Up & Restore Database