There are two different methods to retrieve the list of Primary Keys and Foreign Keys from the database.
SQL SERVER – Four Different Ways to Find Recovery Model for Database
Four ways to find the recovery model of a database: database properties, Object Explorer Details, sys.databases and DATABASEPROPERTYEX.
SQL SERVER – Restore Sequence and Understanding NORECOVERY and RECOVERY
What is the difference between NORECOVERY and RECOVERY when restoring a database, and what is the right restore sequence? A plain explanation of both.
Backup Timeline: Which Backups a Full Recovery Restore Needs
A backup timeline for the full recovery model: full, differential and log backups, and how to restore them in the right order. The post also tells a real DBA story.
SQL SERVER – BLOB – Pointer to Image, Image in Database, FILESTREAM Storage
Store images as a file pointer, inside the database, or with FILESTREAM storage in SQL Server 2008? I compare the pros and cons of each method.
Decimal Multiplication: Precision Can Reduce the Result Scale
Decimal Multiplication derives a result type from its operand types, and the precision limit can reduce the scale. I inspect three small products. A small numeric value does not necessarily imply a narrowly declared arithmetic result.
SQL SERVER – Standby Servers and Types of Standby Servers
What are standby servers and why do you need them? A plain look at the hot, warm and cold types and how SQL Server supports each one.







