Hello,
My initial issue was inserting my passoword/username, which I resolved. Now my issue is running the query. Any suggestions?
Below is the code:
@echo off
color 2
cls
echo this code opens winsql, connects to the database using the user name and password. Then runs a query
"C:\Program Files (x86)\Synametrics Technologies\WinSQL\Winsql.exe" -dEDW_NZ_PROD01 -ua678930 -pWelcome1 "\\Scadfs1\retailops\Reporting\Gervais\JMora\Jason Work\SQL Query\DivisionDescription.sql"
pause
The code above opens the applications, inserts the username/password then opens the query.
Thanks