https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/change-server-authentication-mode?view=sql-server-ver16
USE [master]
GO
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE',
N'Software\Microsoft\MSSQLServer\MSSQLServer',
N'LoginMode', REG_DWORD, 1;
GO
looks OK - The xp_instance_regwrite stored procedure is used to modify the registry keys directly for the SQL Server instance, and it's commonly used for enabling mixed mode authentication by setting the correct registry values.
What is mixed mode authentication in SQL?
There are two possible modes: Windows Authentication mode and mixed mode. Windows Authentication mode enables Windows Authentication and disables SQL Server Authentication. Mixed mode enables both Windows Authentication and SQL Server Authentication. Windows Authentication is always available and cannot be disabled.Feb 28, 2023
Choose an Authentication Mode - SQL Server | Microsoft Learn
Microsoft
https://learn.microsoft.com › Learn › SQL › SQL Server
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.DP-300 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
vcloudpmp
Highly Voted 1 year, 11 months agobingomutant
Most Recent 8 months agovcloudpmp
1 year, 11 months ago