Recover a SQL Server database using an old backup and the current transaction...
How to recover a SQL Server database using an old backup and the current transaction log file DBAs have various disaster recovery plans. One of the questions they have to answer before setting up a...
View ArticleRecover SQL data from a dropped table without backups
If you’ve accidentally executed a DROP statement and you have a full database backup, given that no changes occurred after the table was dropped, you can simply recover the data by overwriting the...
View ArticleHow to recover a specific dropped object
Even with all precautions taken, mishaps with databases are still a possibility. Although it is good to be prepared for a disaster – the database is in the full recovery model and transaction log and...
View ArticleRecover deleted records in Dynamics CRM 2011
Even though Dynamics CRM 2011 is very on clear on the fact that that record deletion is permanent and even provides a warning, it’s not unusual one or more CRM records to be deleted by accident. The...
View ArticleImprove the performance of an ETL process
Due to the sheer volume of data usually involved in an Extract – Transform – Load (ETL) process, performance is positioned very high on the list of requirements which need to be met in order for the...
View ArticleRead a SQL Server transaction log
SQL Server transaction logs contain records describing changes made to a database. They store enough information to recover the database to a specific point in time, to replay or undo a change. But,...
View ArticleRecover deleted SQL data from a backup or from online database files
Recovering DELETED records is something we would all like to avoid, but no matter how careful we are, it can come to that. Having regular full database and transaction log backups is a necessary...
View ArticleRecover deleted SQL data from transaction logs
In the Recover deleted SQL data from a backup or from online database files, we showed two recovery scenarios, the one from a full database backup and the other from the online database data file – the...
View ArticleMultiple SQL Server data recovery options
In the past two weeks we had some interesting Solution center articles describing Microsoft SQL Server topics – each described as the problem (or the challenge) users may encounter with SQL Server data...
View ArticleHow to recover views, stored procedures, functions, and triggers
Regardless of precautions taken to protect your SQL Server, accidents may still occur, causing serious consequences, such as data and objects loss. We will now analyze two possible ways to recover SQL...
View Article4 techniques for recovering lost tables due to DROP Table operation
An accidentally dropped table may be recovered in several ways. The choice of technique depends on the resources available for the recovery. The first choice is usually a database backup. But, even if...
View ArticleTracking DDL changes in SQL Server – the ‘Trouble with Triggers’
Tracking changes is an essential SQL Server security task. Besides data change history, which includes DML operations (e.g. INSERT, UPDATE, and DELETE), tracking DDL changes in SQL Server, changes that...
View ArticleOpen LDF file and view LDF file content
Every SQL Server database is mapped over a set of operating-system files. These files store data and log information. Individual files are used only by one database, and data and log information are...
View ArticleHow to recover from a SQL Server database data-file corruption disaster
SQL Server database corruption recovery with transaction log backups The worst case scenario a DBA can encounter is a SQL Server database data-file corruption (due to physical or some other occurrence,...
View ArticleUsing SQL Server database snapshots to protect yourself against accidental...
Introduction How often have you wished you could just quickly undo a DML statement without having to go through the lengthy process of restoring your database backup? Since SQL Server 2005, SQL Server...
View ArticleReverting your SQL Server database back to a specific point in time
Introduction There are certain circumstances in which you may need to roll back your database to a specific point in time. There may be various reasons why this could be necessary but it is usually...
View ArticleHow to recover a single table from a SQL Server database backup
When you ask a DBA what feature they would most like to see added to the SQL Server recovery functionality, they will undoubtedly say: “The ability to recover a single table from a database backup”. Of...
View ArticleHow to recover a deleted image from SQL Server into a file
More and more companies are creating online catalogues to allow customers to browse their objects prior to coming to their store Having a list with a price and description just doesn’t cut it anymore....
View ArticleSynchronizing databases using the transaction log – SQL Server Log shipping
No matter how well managed your systems are, accidents may still occur, and potentially lead to disastrous consequences. In order to ensure that there is a disaster recovery solution available, it is...
View ArticleHow to narrow a data comparison to affected rows only
When confronted with a disaster recovery scenario with a very large database, but a small group of effected records, an opportunity exists to both speed the process and reduce risk of further damaging...
View Article