Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Data Corruption
»
Object level restoration problem...:)
Object level restoration problem...:)
Rate Topic
Display Mode
Topic Options
Author
Message
SQL_Comp
SQL_Comp
Posted Wednesday, September 23, 2009 5:50 AM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 11:16 PM
Points: 40,
Visits: 196
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>
Post #792542
SQLZ
SQLZ
Posted Wednesday, September 23, 2009 7:05 AM
SSC Eights!
Group: General Forum Members
Last Login: Thursday, May 02, 2013 5:38 AM
Points: 870,
Visits: 858
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?
Karl
source control for SQL Server
Post #792592
Silverfox
Silverfox
Posted Wednesday, September 23, 2009 7:12 AM
SSCrazy
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 6:50 AM
Points: 2,719,
Visits: 1,065
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
--------------------------------------------------------------------------------------
Recommended Articles on How to help us help you and
solve commonly asked questions
Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden
Managing Transaction Logs by Gail Shaw
How to post Performance problems by Gail Shaw
Help, my database is corrupt. Now what? by Gail Shaw
Post #792599
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.