SQLCMD uses Windows Authentication by default. According to the MSDN documentation, you can change it by adding the -U option to the command and then the username.
The problem with the password. Is there any way to access sql server if password is empty?
sqlcmd -U admin
password:
Whenever I try to do this and just press enter (indicating that the password is an empty string), I get a message that the login failed.
Any suggestions? thank
chama source
share