Restoring Last Full Backup
I ran into a small problem where I needed to automate a restore of my last full backup to a different database. Since my full backup file names include a date/time stamp I needed to query msdb for the backup name. Since I figured it out, I thought I'd post it so I would know where of find it the next time I need it, and maybe help someone else out in the process.
.
.
.