How to check Authentication mode of SQL server
How to check Authentication mode of SQL server ( SQL Server /Windows Authentication (or) both)
=========================================
Use Master
GO
SELECT
CASE SERVERPROPERTY('IsIntegratedSecurityOnly')
WHEN 0 THEN 'Mixed Mode - Allows Both SQL Server and Windows Authentication Mode'
WHEN 1 THEN 'Allows Only Windows Authentication Mode'
END AS [Currently Used SQL Server Authentication Mode]
GO
Comments
Post a Comment