首页 > 解决方案 > In SQL Server, sqlcmd with -E option works, but same command with -U & -P for the same account doesn't - I get a "login failed"

问题描述

In SQL Server, the sqlcmd with -E option works, but same command with -U & -P for the same account doesn't - I get a "login failed"

Any idea what I'm doing wrong?

标签: sql-serversqlcmd

解决方案


推荐阅读