SQL Server › Backup & Recovery
What are the three recovery models available in SQL Server, and how do they affect your backup strategy?
IntermediateAnswer
The simple recovery model automatically clears the transaction log after each checkpoint and does not support log backups, the full recovery model keeps a complete log of every transaction, allowing point in time recovery, and the bulk logged model is similar to full but minimally logs certain large bulk operations to improve performance during those specific operations.
ALTER DATABASE MyDatabase SET RECOVERY FULL;Real-world example A hospital's patient records database uses the full recovery model so that if a failure occurs, the database can be restored to the exact moment before the failure, rather than only to the last full or differential backup.