Hello, in command line I am trying the following:
I am getting the following message:
sqlcmd: 'name from sysdatabases"' " Unexpected argument. Enter '-?' for help.
Can anyone see what my invalid argument is?
Code:
sqlcmd -S servername -U username -P password -d Master -Q "select name from sysdatabases"
I am getting the following message:
sqlcmd: 'name from sysdatabases"' " Unexpected argument. Enter '-?' for help.
Can anyone see what my invalid argument is?