sqlcmd
SQLCMD -S SQLCLUSTER –E
Use master;
Go
Select * from sys.databases;
Go
sqlcmd -S server\instance -U sa -p pass
SQL Cluster:
sqlcmd -s "sqlcsnet2\mssqlserver2"
sqlcmd -s "sqlcsnet"
SQLCMD -S SQLCLUSTER –E
Use master;
Go
Select * from sys.databases;
Go
sqlcmd -S server\instance -U sa -p pass
SQL Cluster:
sqlcmd -s "sqlcsnet2\mssqlserver2"
sqlcmd -s "sqlcsnet"