This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"D:\Microsoft SQL Server\<INSTANCE_NAME>\MSSQL\Binn\sqlservr.exe" -s<INSTANCE_NAME> -m
wichtig parameter für sqlcmd sind case sensitive
sqlcmd -E -S<SERVERNAME>\<INSTANCE_NAME>
CREATE LOGIN [<domain>\<user>] FROM WINDOWS;
GO
SP_ADDSRVROLEMEMBER '<domain>\<user>', 'sysadmin'
GO