Using RESTORE HEADERONLY and checking the BackupType column to tell differential and full backups apart, but a little stumped on how to restrict the data that is being returned from the RESTORE HEADERONLY command.
How can you restrict the RESTORE HEADERONLY return set to just the BackupType column return info?
I guess make a stored procedure...? Any suggestions?