﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 General Discussion  / retrieve the previous version of a stored procedure / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 15:16:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>Please note: 4 year old thread</description><pubDate>Wed, 27 Mar 2013 08:43:33 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>You can restore it from a database backup even without restoring the backup. You need a tool for comparing and synchronizing object schemas (such as SQL Diff). Set the database backup as a source, the live database as a destination, filter only the stored procedure you want to restore</description><pubDate>Wed, 27 Mar 2013 08:26:17 GMT</pubDate><dc:creator>janet.marple</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>I think there is a miscommunication..... with the message I have posted.[quote]As Gail Shaw mentioned if you have backup of the database where you have the previous version of the procedure you can restore using the backup.[/quote]I mean to say if we have backup ... where we have older version of the procedure.... we can restore to the previous version.. by restoring the database backup... and taking old sp from that backup.[quote]I think it was a misunderstanding. I've never heard of a mechanism for doing this either.[/quote]Yes there is no mechanism for restoring to the previous version with any other method.</description><pubDate>Thu, 11 Dec 2008 23:05:49 GMT</pubDate><dc:creator>brainy</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>I think there is a miscommunication..... with the message I have posted.[quote]As Gail Shaw mentioned if you have backup of the database where you have the previous version of the procedure you can restore using the backup.[/quote]I mean to say if we have backup ... where we have older version of the procedure.... we can restore to the previous version.. by restoring the database backup... and taking old sp from that backup.[quote]I think it was a misunderstanding. I've never heard of a mechanism for doing this either.[/quote]Yes there is not mechanism for restoring to the previous version with any other method.</description><pubDate>Thu, 11 Dec 2008 23:05:09 GMT</pubDate><dc:creator>brainy</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>[quote][b]Roy Ernest (12/11/2008)[/b][hr][quote][b]Kishore.P (12/10/2008)[/b][hr][quote][b]Gauthama Kolivad (12/10/2008)[/b][hr]Using the same DB...  I mean without using backup ... we cant restore a stored procedure to the previous version.As Gail Shaw mentioned if you have backup of the database where you have the previous version of the procedure you can restore using the backup.[/quote]you can generate the script the sp for previous ver. if it is not encrypted.[/quote]I would really like to know how this can be done.... Never heard of any method to do this.[/quote]I think it was a misunderstanding. I've never heard of a mechanism for doing this either.</description><pubDate>Thu, 11 Dec 2008 09:17:44 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>[quote][b]Kishore.P (12/10/2008)[/b][hr][quote][b]Gauthama Kolivad (12/10/2008)[/b][hr]Using the same DB...  I mean without using backup ... we cant restore a stored procedure to the previous version.As Gail Shaw mentioned if you have backup of the database where you have the previous version of the procedure you can restore using the backup.[/quote]you can generate the script the sp for previous ver. if it is not encrypted.[/quote]I would really like to know how this can be done.... Never heard of any method to do this.</description><pubDate>Thu, 11 Dec 2008 08:23:34 GMT</pubDate><dc:creator>Roy Ernest</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>[quote][b]Grant Fritchey (12/10/2008)[/b][hr]Pull a previous copy out of source control...If you don't have your code under source control, here's the wake-up call to get it there.You can't retrieve a previous copy from the current database. It's gone.[/quote]I second that!</description><pubDate>Thu, 11 Dec 2008 07:33:10 GMT</pubDate><dc:creator>Mauve</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>Pull a previous copy out of source control...If you don't have your code under source control, here's the wake-up call to get it there.You can't retrieve a previous copy from the current database. It's gone.</description><pubDate>Wed, 10 Dec 2008 07:42:38 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>[quote][b]Kishore.P (12/10/2008)[/b][hr][quote]you can generate the script the sp for previous ver. if it is not encrypted.[/quote]How, if the proc has been written over?</description><pubDate>Wed, 10 Dec 2008 01:59:11 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>[quote][b]Gauthama Kolivad (12/10/2008)[/b][hr]Using the same DB...  I mean without using backup ... we cant restore a stored procedure to the previous version.As Gail Shaw mentioned if you have backup of the database where you have the previous version of the procedure you can restore using the backup.[/quote]you can generate the script the sp for previous ver. if it is not encrypted.</description><pubDate>Wed, 10 Dec 2008 01:46:16 GMT</pubDate><dc:creator>Kishore.P</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>Using the same DB...  I mean without using backup ... we cant restore a stored procedure to the previous version.As Gail Shaw mentioned if you have backup of the database where you have the previous version of the procedure you can restore using the backup.</description><pubDate>Wed, 10 Dec 2008 01:04:08 GMT</pubDate><dc:creator>brainy</dc:creator></item><item><title>RE: retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>Find a backup of the DB that has the version of the proc that you want. Restore that alongside the existing DB and then script out the procedure</description><pubDate>Wed, 10 Dec 2008 00:22:30 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>retrieve the previous version of a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic616678-149-1.aspx</link><description>Hi Is there any way to retrieve the previous version of a stored procedure after compilation and closing the window?please please helpregardspooja</description><pubDate>Tue, 09 Dec 2008 22:47:43 GMT</pubDate><dc:creator>Pooja_prasad</dc:creator></item></channel></rss>