This script will be useful to find the configured Authentication Mode for current SQL Server Instance. This will work for both SQL 2000 and SQL 2005.
How to check SQL Server Authentication Mode using T-SQL and SSMS
Many times developers want to put logic into their code or SSIS/DTS package to check the SQL Server authentication mode. How can this be done programmatically?
2011-01-03
5,211 reads