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
Gouache painting of a miniature village assembled beside its compartmented storage chest and rolled plan.

Installing AdventureWorks Sample Database: SQL in Sixty Seconds #010

April 11, 2012
Pinal Dave
SQL Video
SQL Backup and Restore, SQL in Sixty Seconds, SQL Sample Database, SQL Server Installation

Installing AdventureWorks is one RESTORE statement, and a few checks before and after it prevent the common failures. The tests here read a backup header and file list, restore under a new name with MOVE, and confirm the result on SQL Server 2025.

Read More
SQL SERVER - Cleaning Up SQL Server Indexes - Defragmentation, Fillfactor - Video

SQL SERVER – Cleaning Up SQL Server Indexes – Defragmentation, Fillfactor – Video

April 4, 2012
Pinal Dave
SQL Video
SQL Index

Cleaning up SQL Server indexes starts with fragmentation. Learn the two types, when to reorganize or rebuild, and how fillfactor fits in.

Read More
Gouache painting of a coiled measuring ribbon beside two growing stacks of blocks on a craft table.

Compound Assignment Operators in SQL Server: SQL in Sixty Seconds #009

March 28, 2012
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Operator, SQL Scripts, SQL Variable

Compound assignment operators such as += and *= combine an operation with an assignment in T-SQL. The tests here run all eight operators on SQL Server 2025, and show how NULL, integer division, overflow, truncation and precedence change the result.

Read More
Gouache painting of a database character beside a stopwatch

MAXDOP 1 in SQL Server: SQL in Sixty Seconds #008

March 23, 2012
Pinal Dave
SQL Video
MAXDOP, Parallel, Query Hint, SQL in Sixty Seconds

MAXDOP 1 requests serial execution for one SQL Server query. I measured four variants of one query on SQL Server 2025, and the serial plan was the slowest in elapsed time with about the same CPU. The post shows the settings behind the hint and how to read the degree of parallelism a query actually used.

Read More
Gouache painting of illustrated cards travelling between two wooden trays on a looping ribbon beside a red stop block.

Table Variables and Transactions in SQL Server: SQL in Sixty Seconds #007

March 21, 2012
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Transactions, SQL Variable, Temp Table

Table variables and transactions do not mix the way temporary tables do, because a ROLLBACK leaves the rows in a table variable. The tests here cover a full rollback, a savepoint, a failed statement and a logging pattern, all on SQL Server 2025.

Read More
Gouache painting of scattered paper cards leading to a neatly indexed wooden drawer with a red divider.

SQL Server Indexing Basics: SQL in Sixty Seconds #006

March 14, 2012
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Index, SQL Performance

SQL Server indexing basics start with the query you want to help. The tests here use a 200,000 row table to compare a scan, a plain index and a covering index, show when SQL Server ignores an index, and measure what three extra indexes cost on an insert.

Read More
Create Index on it.

Indexing Basics Course: Learning SQL Server Performance

March 8, 2012
Pinal Dave
SQL Video
Execution Plan, SQL Index, SQL Training

Vinod Kumar and I released an indexing basics course in 2012. This post keeps the original outline and cartoon, and adds tests on SQL Server 2025 for four of its practical topics: column order, functions on indexed columns, filtered indexes and disabled indexes.

Read More
Previous 1 … 21 22 23 24 25 26 Next
  • Books
  • Testimonials
  • Privacy Policy

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