All Questions
Tagged with sqlcmd azure-sql-database
3 questions
0
votes
1
answer
4k
views
Encrypt connection when using sqlcmd
Trying to connect database with an encrypted connection, tried below sql queries:
sqlcmd -N -E -S tcp:SQLSERVER,1234 -U username -P password -d Database -Q "INSERT INTO table1 VALUES(1,2,2)
ERROR:...
0
votes
1
answer
920
views
sqlcmd gives no sign of failure yet doesn't work
I am running sqlcmd from a linux bash script. My target server is an Azure SQL. I execute an sql file with a lot of sql statements (around 2500). These are Insert/update/delete statements. I used the ...
3
votes
2
answers
5k
views
SQLCMD: "Login failed for user" on SQL Azure, but it works with SSMS
I have an SQL Azure database, and I'm able to connect to it using SQL Server Management Studio. When connecting to it, it displays
myServer.database.windows.net (SQL Server 12.0.2000.8 - myUser)
...