aspose 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 Spring in Action this week in the Spring 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?