Hi all,
I am trying to enable certain trace flags every time that the SQL Server service is started.
This can be accomplished by configuring certain startup options through Configuration Manager, as specified here:
https://msdn.microsoft.com/en-us/library/ms345416(v=sql.120).aspx
However, I have a lot of SQL Servers to configure - I'd like to find a way to do this programmatically. So far I haven't found any SQL queries to accomplish this. Any ideas?