Can I capture the version of SQLBackup being used via t-sql?
jim.wilson
Posts: 8
I'd like to report SQLBackup version information for all SQL servers to a central SQL server via a nightly automated process throughout our SQL environment. To do this, I need to be able to somehow capture the SQLBackup version info using t-sql (e.g. SQL Backup v5.1.0.2781). I'm guessing this might be possible using the extended sproc sqbutility, but I have no idea what parameters would be used. Any ideas or suggestions?
Comments
You can... Hopefully this information doesn't change as it's undocumented! The version is returned in @CurrentSQBVersion.
Can I get it to not return empty result set?
results
I thought about trying this but hadn't done it. This solution works. Thanks for feedback.