This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12055|Reply: 2

[Source] Recover data that was deleted by mistake in SQL Server

[Copy link]
Posted on 11/22/2016 2:59:06 PM | | |

Recover Data Deleted by Mistake in SQL Server (Re-Expand)

Address: http://www.cnblogs.com/lyhabc/p/4620764.html



I once wanted to implement the function of Log Explorer for SQL Server and use the logs in ldf to restore the data that was deleted by mistake

Here's an article that does it, but it doesn't seem to support all data types

The following is the translation: http://raresql.com/2011/10/22/how-to-recover-deleted-data-from-sql-sever/



In my years of using SQLSERVER, most people have asked me the question: "Can I recover deleted data?" ”

Now, it is easy to recover deleted data from SQLSERVER2005 or above

(Note: This script recovers data from the following data types and is CS collation-compatible)

image
text
uniqueidentifier
tinyint
smallint
int
smalldatetime
real
money
datetime
float
sql_variant
ntext
bit
decimal
numeric
smallmoney
bigint
varbinary
varchar
binary
char
timestamp
nvarchar
nchar
xml
sysname
Original link: http://www.cnblogs.com/lyhabc/p/3683147.html




Previous:C# implements the console application to exit by pressing any key
Next:Beautiful login interface made by WPF [with source code]
Posted on 11/8/2017 3:25:59 PM |
Yes, I learned
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com