This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* *************************************************************************************** | |
retrieve standby filepath from tlog | |
credit for original idea is not mine, but I cannot find the original post any more | |
*************************************************************************************** | |
https://rileywaterhouse.co.uk/where-is-the-standby-file | |
*************************************************************************************** | |
*/ | |
DECLARE @database sysname; | |
SET @database = N'AW'; |