Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Does any Tool for Retrive modify or deleted record

Author  Topic 

ranjeetsingh_6
Posting Yak Master

125 Posts

Posted - 2006-10-20 : 06:34:55
Hi
Suppose I have some Table,Triggers ,stored procedure in DataBase.
I modify in some table,delete some table ,modify any trigger
and modify some stored procedure Today.After some Days I want to
retrive my old version of Table,Trigger and stored procedure
while i have not any Backup of my DataBase.

Does any Sql Server versioning Tool availiable to retrive
my old version of Table,Trigger and stored procedure.If
Yes from where i will download it and how use it .


Ranjeet Kumar Singh

DonAtWork
Master Smack Fu Yak Hacker

2167 Posts

Posted - 2006-10-20 : 06:54:47
Its called Backup. It comes with SQL SERVER. You can find out how to use it in BOL. Use a differential backup and you can sort of fake versioning. You NEED to backup your DB. I don't see how you can be worried about a version of a table or SP, and NOT the DB as a whole.

Otherwise, you need something on the order of SourceSafe or ClearCase, or some other product that takes care of code for you.

[Signature]For fast help, follow this link:
http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspx
Learn SQL
http://www.sql-tutorial.net/
http://www.firstsql.com/tutor.htm
http://www.w3schools.com/sql/default.asp
Go to Top of Page

jemacc
Starting Member

42 Posts

Posted - 2006-10-20 : 09:09:02
There is a tool from lumigent named Log Explorer

[url]www.lumigent.com[/url]
Go to Top of Page

ws5926
Yak Posting Veteran

88 Posts

Posted - 2006-10-20 : 13:53:32
If you are running 7 or 2000 then just script the database nightly. It can be done though the dos command:

C:\Program Files\Microsoft SQL Server\MSSQL\Upgrade\scptxfr.exe /s servername /I /q /G /d databasename /f filename.txt /r

If I was your boss and I found out that you weren't making any kind of an attempt to make a backup of your data, I would either send you to training or be browsing Monster.com to find someone that would replace you.

Backing up your data is one of the most important jobs of a DBA. I cannot stress it enough. I have all of my databases scripted nightly, bcp dumped nightly, backup dumped nightly, all of those copied to zip files, and a copy of the zipped file copied to my machine - NIGHTLY. If I find another way to backup my data (besides differential) I will implement that also!

(we don't need differential on any of our projects, previous night restore is acceptable for any of our projects)

If someone came in and stole any of our servers, I have everything I need to fully restore all my servers sitting on my machine every morning.

BACKUP YOUR DATABASES!!!!!!!!!

Live to Throw
Throw to Live
Go to Top of Page

bipcpp
Starting Member

1 Post

Posted - 2006-10-22 : 16:07:07
Hi,

Make a script of your database, after making modifications.
Then make a comparison of the old script and the actual one.

A comparison tool here : http://bipcpp.free.fr/us/sqlsdbc/sqlsdbc.html

Bye.
Go to Top of Page
   

- Advertisement -