By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,233 Members | 1,412 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,233 IT Pros & Developers. It's quick & easy.

How to create a query in a .bat file

P: n/a
Hi all

I have a sql query, i want to create a .bat file to execute the query.

Also i would like to know how to run the file.

Can anybody can help me with this?

Oct 18 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
try the db2cmd command in your batchfile
e.g. db2cmd -c -i db2 list database directory

<ma*****@gmail.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
Hi all

I have a sql query, i want to create a .bat file to execute the query.

Also i would like to know how to run the file.

Can anybody can help me with this?

Oct 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.