December 2017
Intermediate to advanced
434 pages
10h 14m
English
For authentication, you need to create a login on SQL Server for one of the four Windows principals mentioned earlier, either with SQL Server Management Studio, TSQL or with the sqlcmd command-line tool. Having a login on the SQL Server will allow a user to authenticate on the SQL Server, if the login is enabled. Logins can be also disabled, which would prevent the authentication.
--to add a group run the commandCREATE LOGIN [SQLSERVER\DBA Team] FROM WINDOWS--this command expects that a group DBA Team is present on the SQL Server--to add a single user run the commandCREATE LOGIN [SQLSERVER\Marek] FROM WINDOWS
This sample code will add a group called DBA Team as a login to our SQL Server. Any member of such a Windows group will ...
Read now
Unlock full access