wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
DataBase Script
DB2
Back Up & Restore Database
Comma in db2
DB2 v9 slower than DB2 v8 while inserting DDL and DML Scripts using Ant script