SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Does any Tool for Retrive modify or deleted record
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ranjeetsingh_6
Posting Yak Master

India
125 Posts

Posted - 10/20/2006 :  06:34:55  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

2161 Posts

Posted - 10/20/2006 :  06:54:47  Show Profile  Reply with Quote
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

USA
42 Posts

Posted - 10/20/2006 :  09:09:02  Show Profile  Click to see jemacc's MSN Messenger address  Reply with Quote
There is a tool from lumigent named Log Explorer

www.lumigent.com
Go to Top of Page

ws5926
Yak Posting Veteran

USA
88 Posts

Posted - 10/20/2006 :  13:53:32  Show Profile  Reply with Quote
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

Edited by - ws5926 on 10/20/2006 13:56:11
Go to Top of Page

bipcpp
Starting Member

1 Posts

Posted - 10/22/2006 :  16:07:07  Show Profile  Visit bipcpp's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000