This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Comma in db2
Back Up & Restore Database
DataBase Script
DB2
DB2 v9 slower than DB2 v8 while inserting DDL and DML Scripts using Ant script