March 22, 2012 at 10:00 am
hi folks
I need to know how the particular table in database looks like 3 days ago so is there any way to know or any script?
Thanks for help
March 22, 2012 at 10:02 am
Restore a backup from 3 days ago as a new database and look at the table in there.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 22, 2012 at 10:03 am
only way would be to restore the databases from 3 days ago unless you have some custom monitoring solution or script the database schema every day
March 22, 2012 at 10:04 am
What do you mean how the table looked like three days ago? Are talking structure or data?
The only way I know is to restore the database under a different name or to a different server. There isn't any way to just query the database to determine this.
March 22, 2012 at 10:17 am
That helps a lot ..
thank you for a kind suggestion...
Is there any way we can find out from T- SQL scripts?
March 22, 2012 at 10:22 am
If you don't backup database :w00t: your only other option will be time-machine... :alien:
March 22, 2012 at 10:25 am
Ankit.shah22 (3/22/2012)
That helps a lot ..thank you for a kind suggestion...
Is there any way we can find out from T- SQL scripts?
Do you have DDL triggers which do this kind of audit?
Probably not.
Try to send email to everyone, asking what kind of T-SQL scripts they did execute in your database...:hehe:
Beer-time in London!
March 22, 2012 at 10:29 am
Ankit.shah22 (3/22/2012)
That helps a lot ..thank you for a kind suggestion...
Is there any way we can find out from T- SQL scripts?
Simple answer, no. You will need to restore a backup of the database from 3 days ago, either as a new database on the same server or to a separate server.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply