Re: sqlcmd



Arne Garvander (ArneGarvander@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
I try to run sqlcmd on localhost.
sqlcmd -S localhost\SQLExpress -U sa -P <xxxxxx>
I got the error message sql server doesn't allow remote connections.
What am I doing wrong?

Have you verified that your instance is running?

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.