| Comment | SQLServer Stored Procedure
PURPOSE
Generate sqlserver settings text file.
The text filename name is info_sqlserver.txt and is dumped to the give dump_path.
The dump_path must exist and will be checked.
PARAMETERS
- 1 @dump_path VARCHAR(255) Path to dump file to.
USED OBJECTS
- master.sys.server_principals
- master.sys.dm_server_services
- master.sys.dm_os_sys_info
- master.sys.dm_os_memory_clerks
- master.sys.configurations
- master.sys.master_files
- master.sys.databases
- master.sys.dm_os_memory_nodes
- master.sys.dm_os_nodes
- xp_readerrorlog (undocumented extended procedure)
- xp_instance_regread (undocumented extended procedure)
SQLSERVER CONFIGURATION
- OLE Automation has to be enabled.
EXAMPLES
EXEC dbo.prc_dump_survive_info_sqlserver @dump_path='C:\Data\MSSQL\survivekit'
HISTORY
2026-04-09 - Created procedure
TAGS
<program>
<description>Generate sqlserver settings text file</description>
<generic>0</generic>
<minversion>12</minversion>
<author>Gerrit Mantel</author>
<created>2026-04-09</created>
<lastmodified>2026-04-09</lastmodified>
</program> |