MySQL, MariaDB and SQL Server

Recovering Deleted Data

Ways to get back deleted rows in SQL Server, from backups and logs to restore permissions.

Can db_owner restore a database?

Learn why db_owner cannot restore a SQL Server database by default, which roles and owner settings can, and how to get the right access safely.

2 min read

How to retrieve last 5 records in SQL?

Retrieve the last 5 records in SQL with TOP or LIMIT and an ORDER BY column, and see why deleted rows never appear in the output of that query.

1 min read

How to undo an accidental deletion?

Undo an accidental DELETE in SQL Server by rolling back an open transaction, or recover committed rows from a backup restored to a new database.

2 min read

Related topics

More in mysql, mariadb and sql server