1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00

Merge pull request #148 from uc-msft/master

Fixed string value so predicates work on case-sensitive server too
This commit is contained in:
Jos de Bruijn
2016-10-26 09:43:27 -07:00
committed by GitHub

View File

@ -30,7 +30,7 @@ select CAST(SERVERPROPERTY('IsAdvancedAnalyticsInstalled') as int) as IsRService
)))), 0) as ImpliedAuthenticationEnabled )))), 0) as ImpliedAuthenticationEnabled
, coalesce((select cast(r.value_data as int) , coalesce((select cast(r.value_data as int)
from sys.dm_server_registry as r from sys.dm_server_registry as r
where r.registry_key like 'HKLM\Software\Microsoft\Microsoft SQL Server\%\SuperSocketNetLib\TCP' where r.registry_key like 'HKLM\Software\Microsoft\Microsoft SQL Server\%\SuperSocketNetLib\Tcp'
and r.value_name = 'Enabled'), -1) as IsTcpEnabled and r.value_name = 'Enabled'), -1) as IsTcpEnabled
from sys.configurations from sys.configurations
where name = 'external scripts enabled';</CommandText> where name = 'external scripts enabled';</CommandText>