This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A canoe and its separate outrigger float with fitted support arms

Restoring a Database That Has a Memory-Optimized Filegroup

December 26, 2017
Pinal Dave
SQL Tips and Tricks
Shrinking Database, Spatial Database, SQL Sample Database, System Database

The container behind a memory-optimized filegroup is a folder, and a restore must place it. Here is the error you get when you forget, and the fix.

Read More
A play kitchen shelf stocked with handmade felt food, many eggs, fewer carrots and one red felt fish.

Building Demo Data With GENERATE_SERIES

December 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Sample Database, SQL Server, Testing

Build demo data with GENERATE_SERIES, weighted categories, customer skew, random amounts, and validation that preserves repeatable tests.

Read More
Matching bicycle bells with one lever deliberately adjusted

Database Scoped Configurations Changed From Their Defaults

December 6, 2016
Pinal Dave
SQL Tips and Tricks
Shrinking Database, Spatial Database, SQL Sample Database, System Database

One column in sys.database_scoped_configurations finds every setting that differs from its default. I show how to use it, and where it goes blind.

Read More
Gouache painting of open sacks of spices on a market stall with a sample bowl and spoon, one sack painted red

Install the WideWorldImporters Sample Database

August 10, 2016
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Sample Database, SQL Server Management Studio

To install the WideWorldImporters sample database, restore its backup file in SSMS and check the files and the row counts. This post explains the Full and Standard versions, the disk space you need, the permission trap, and three queries that prove the install worked.

Read More
A scale model of a house on a table with the real house visible through the window behind it

Test Data That Looks Like Production

July 22, 2015
Pinal Dave
SQL Tips and Tricks
DBA, SQL Sample Database, SQL Server Security, Testing

Test data that looks like production matches distributions, relationships, and volume without copying sensitive values into development.

Read More
A small wooden model ship hull towed through a long indoor test tank, leaving a clean wake behind it.

Sample Databases for Practicing Performance Tuning

June 23, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Sample Database

Use sample databases for practicing performance tuning by checking data volume and skew, then enlarging the right tables carefully.

Read More
A backyard sandbox with practice castles and a red pail, fenced off from neat vegetable beds

SQL SERVER – AdventureWorks for SQL Server 2012 RC0 – Samples Database for SQL Server 2012 RC0

December 18, 2011
Pinal Dave
SQL Tips and Tricks
SQL Documentation, SQL Download, SQL Sample Database

Microsoft released AdventureWorks for SQL Server 2012 RC0. Here is the download link, plus why this sample database belongs on a development box only.

Read More
Previous 1 2 3 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com