sql server 2008 r2 - Sqlcmd Error: Sqlcmd: The -E and the -U/-P options are mutually exclusive -
i trying execute several sql files located in folder executing [main.bat] contains below mentioned command-
for %%g in (*.sql) sqlcmd /s [server] /d [database name] -u [username] -p [password] -e -i"%%g" pause
but facing issue-
sqlcmd: -e , -u/-p options mutually exclusive.
any suggestion?
sql-server-2008-r2 sqlcmd
No comments:
Post a Comment