Object level restoration problem...:)

  • Scenario:

    1. Backup is taken in the night at 7pm

    2. If users update the data at 9am (next day). Ex: UPDATE Employee SET EmpNo = 2 WHERE EmpNo = 1. This data is residing on Page - 1:88 .

    3. Data page (1:88) is corrupted at 10am.

    Questions:

    If I follow your recommendations and after troubleshooting it successfully:

    1. What will be the value of EmpNo? Is it 1 or 2?

    A1 It will be 1, later you can

    2. If it 1 then what will happen to the dependancies of Employee table? Assume, there is a trigger on Employee table which updates the EmpNo in the other tables as and when EmpNo is updated in the Employee table.

    🙂 🙂 🙂
    Amey ghag
    <a href='http://' class='authorlink' target='_blank'></a>

  • I'm a little confused here as to what you're doing....

    When you say

    Amey ghag (9/23/2009)


    If I follow your recommendations....

    what recommendations are you actually talking about?

  • Cannot give recommendations on what you have said.

    depending on what troubleshooting is applied, will mean that the end result could be different.

    IF a restore can be used to rollback the change

    EmpNo will be 1

    otherwise

    EmpNo will be (depending on the level of corruption, possible 2 or unreadable)

    and once again

    if restore is done from teh previous night, then the user update has not happened and the trigger wouldnt have fired.

    otherwise

    depending on what is stored on that data page, you will see nothing for that data page and updated values populated by the trigger for other dependant tables if they are not on that data page

    --------------------------------------------------------------------------------------
    [highlight]Recommended Articles on How to help us help you and[/highlight]
    [highlight]solve commonly asked questions[/highlight]

    Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden[/url]
    Managing Transaction Logs by Gail Shaw[/url]
    How to post Performance problems by Gail Shaw[/url]
    Help, my database is corrupt. Now what? by Gail Shaw[/url]

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply