Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql script from Bat file Micros 3700 1

Status
Not open for further replies.

ddrafts

IS-IT--Management
Dec 26, 2002
119
US
I have my SQL script finished. Want to set it up to run from a Batch file. From what I have read you would setup the bat file as..

dbisql.exe -c "userid=custom;password=custom" drink.sql

Every time I try to run it a help box comes up.

How do I do this.

Thanks in advance.
Doug
 
Try this instead

Code:
dbisql.exe -c uid=custom;pwd=custom;dbf=micros drink.sql

You may want to put the full path to drink.sql in there as well. When you get it working put a -q argument before the -c to keep the sql screen from displaying when the batch runs.

Pat
 
That worked.

Thank you so much
Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top