How to run a sql script from Putty for DB2

20 March,2009 by Tom Collins

How can I execute a sql script from the command line in a client tool such as Putty?

This is a useful process- if you want to run sql scripts from Putty use the following method:

db2 -tvf myscript.sql

Read More

DB2 – How to pscp from the command line - DBA DB2

Command to see connection on a DB2 database - list applications

Author: Rambler(


Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment on How to run a sql script from Putty for DB2

Comments are moderated, and will not appear until the author has approved them. | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright