What is the xp_regread command used for ?
The following scripts located in the <Quest Software>\Diagnostic Server\Agent\conf\Package\sqlserver_spotlight folder use xp_regread command to get SQL Server Agent, services and SQL Mail details:
QS_JobAlerts.sql
QS_ServicesControl
QS_Services
QS_Services_SQLMail.sql
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center