开发者

SQL Server Startup Parameters

How can i retrive 开发者_高级运维the SQL Server startup parameter using SQL Query?


Check This. It might help you.

The lines below is of your interest.

$startupParameters = $wmiserver.Services['MSSQLSERVER'].StartupParameters # YMMV on the service name if you use named instances
        $mtlSetting = $startupParameters.split(';') | ? { $_.StartsWith('-g'

You can use CLR Stored proc to use WMI. Here is a tutorial.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜