Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

How to undo Drop Table Statement Expand / Collapse
Author
Message
Posted Saturday, October 19, 2013 11:20 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Today @ 5:44 AM
Points: 324, Visits: 536
Richard Warr (10/18/2013)
Alternatively, petition for the UNDROP TABLE command to be introduced in SQL Server 2016.

Hope you found a way to get the table recreated from somewhere.


Personally I would like to see a $RECYCLEBIN object for SQL Server such as Oracle has. This would be extremely good in such a situation......
Post #1506409
Posted Sunday, October 20, 2013 1:25 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 1:52 PM
Points: 13,368, Visits: 11,148
kevaburg (10/19/2013)
Richard Warr (10/18/2013)
Alternatively, petition for the UNDROP TABLE command to be introduced in SQL Server 2016.

Hope you found a way to get the table recreated from somewhere.


Personally I would like to see a $RECYCLEBIN object for SQL Server such as Oracle has. This would be extremely good in such a situation......


It would be a great addition in a development/testing environment, however possibly a waste of resources in a tightly managed production environment.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1506505
Posted Monday, October 21, 2013 12:44 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Today @ 5:44 AM
Points: 324, Visits: 536
Koen Verbeeck (10/20/2013)
kevaburg (10/19/2013)
Richard Warr (10/18/2013)
Alternatively, petition for the UNDROP TABLE command to be introduced in SQL Server 2016.

Hope you found a way to get the table recreated from somewhere.


Personally I would like to see a $RECYCLEBIN object for SQL Server such as Oracle has. This would be extremely good in such a situation......


It would be a great addition in a development/testing environment, however possibly a waste of resources in a tightly managed production environment.


You might have a point but only a small one I think.

The recyclebin only contains the text statement so its size remains compatively small. In contrast to SQL Server, the restoration of a table can be done online meaning no downtime.

Alternatively, a technology such as FLASHBACK TABLE TO BEFORE DROP could also be a life/job/money saver.

There a lot of lessons Microsoft could learn from Oracle in this area and I ask myself alot why it hasn't been more seriously addressed.
Post #1506553
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse