|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Yesterday @ 6:14 PM
Points: 31,421,
Visits: 13,734
|
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Yesterday @ 12:39 PM
Points: 3,397,
Visits: 3,405
|
|
The question probably should have said that RESTORE VERIFYONLY doesn't write to the msdb.dbo.restorehistory by default. But there is the LOADHISTORY parameter that will make it so.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, October 22, 2010 10:53 AM
Points: 143,
Visits: 13
|
|
I agree with Warren. In MSDN its clearly written that msdb.restorehistory contains one row for each restore operation. For VERIFYONLY restore option column [restore_type] will contain 'V' V = Verifyonly
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 7:02 PM
Points: 2,859,
Visits: 405
|
|
igorg (1/21/2009) I agree with Warren. In MSDN its clearly written that msdb.restorehistory contains one row for each restore operation. For VERIFYONLY restore option column [restore_type] will contain 'V' V = Verifyonly
RESTORE VERIFYONLY can write to history system table if you specify LOADHISTORY option. The question doesn't mention this at all, so the answer is No.
Urbis, an urban transformation company
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 5:48 PM
Points: 7,088,
Visits: 7,143
|
|
Iggy (1/21/2009)
igorg (1/21/2009) I agree with Warren. In MSDN its clearly written that msdb.restorehistory contains one row for each restore operation. For VERIFYONLY restore option column [restore_type] will contain 'V' V = Verifyonly
RESTORE VERIFYONLY can write to history system table if you specify LOADHISTORY option. The question doesn't mention this at all, so the answer is No.
No. it's a stupid question and the correct answer "Only if LOADHISTORY" is specified isn't available.
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|