- Select the Master database.
USE Master
GO - Restore the latest full back up with REPLACE and RECOVERY option
RESTORE DATABASE RESTORE_COSTSHEET
FROM DISK = 'e:\backup_201007282300.bak'
WITH REPLACE,NORECOVERY; - Restore all deferential backups except last one
RESTORE DATABASE RESTORE_COSTSHEET
FROM DISK = 'e:\201006110800.incr'
WITH NORECOVERY; - Restoration of Last back up file should be like this.
RESTORE DATABASE RESTORE_COSTSHEET
FROM DISK = 'e:\201006111200.incr'
WITH RECOVERY;
Jul 29, 2010
Restoring Deferential backups in SQL Server (T-SQL)
In my previous post I demonstrated, how to restore deferential backups with SQL Management Studio. In this post, I'll show the same thing with T-SQL.
Subscribe to:
Post Comments (Atom)
MEC: How to Set Message Counter for EDI Message
When you sending/creating EDI messages it is necessary to include unique message interchange number. This is to ensure each message that we ...
-
Background In a conventional M3 Program, data in some fields can be searched by pressing the F4 key or Browse function. Using MAK (M3 Ada...
-
In this post, I'm going to explain the step-by-step approach to configuring the popular development tool Postman to test/execute Inf...
-
I need to connect to a DB2 from a .net application. But it’s in iSeries system. I did not know what is the way do it. I read lot of article...
No comments:
Post a Comment