DBA Hub

📋Steps in this guide1/3

Create SQL Server Authenticated Login in SQL Server

Create SQL Server Authenticated Login in SQL Server

sqlserver configurationintermediate
by MSSQL
14 views
1

Overview

Create SQL Server Authenticated Login in SQL Server 1. Verify Server Authentication mode Server Authentication Mode must be set to "SQL Server and Windows Authentication Mode" Please note: Change of Server Authentication Mode must need SQL Server restart. 2. Using SSMS (GUI)
Step 1

Code/Command (click line numbers to comment):

1
2
3
Server Authentication Mode must be set to "SQL Server and Windows Authentication Mode"

Please note: Change of Server Authentication Mode must need SQL Server restart.
2

Section 2

3. Using T-SQL USE [master] GO CREATE LOGIN WITH PASSWORD=N'ted', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF GO Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using. Caution:
Step 2

Code/Command (click line numbers to comment):

1
2
3
4
USE [master]
GO 
CREATE LOGIN  WITH PASSWORD=N'ted', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
GO
3

Section 3

Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Comments (0)

Please to add comments

No comments yet. Be the first to comment!