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 hand on a bicycle handlebar next to the gear shifter, just before changing gear

Raising a Database Compatibility Level Safely

August 23, 2009
Pinal Dave
SQL Performance
Compatibility Level, Query Store, SQL Performance, SQL Server

Raise a compatibility level safely by capturing a Query Store baseline, changing one database, comparing plans, and keeping a tested reversal.

Read More
Two hands pouring a jar of sea glass and a jar of shells together into one wide ceramic bowl

sys.objects, sys.all_objects and sys.system_objects

August 22, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL System Table, System Object

Compare sys.objects, sys.all_objects and sys.system_objects to find SQL Server user objects, system objects, and metadata visibility gaps.

Read More
SQL SERVER - Get Query Plan Along with Query Text and Execution Count

SQL SERVER – Get Query Plan Along with Query Text and Execution Count

August 21, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL System Table

A handy script that shows each query’s text, its execution count and its query plan, so you can see what runs most often on your server.

Read More
Two long layered ice cores side by side, a gloved hand stretching a red thread across both at the same band.

Joining Two History Tables at a Point in Time With FOR SYSTEM_TIME AS OF

August 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Joins, SQL Server, Temporal Table

Use FOR SYSTEM_TIME AS OF to join temporal tables at one UTC instant, compare range forms, and index the history lookup correctly.

Read More
Muddy new hiking boots beside a worn old pair on a porch step, a walking stick leaning on the rail.

Evaluating a New SQL Server Version in One Week

August 16, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Migration, SQL Server, SQL Upgrade, Testing

Evaluating a New SQL Server Version in one week works when you install, restore, run a real workload, compare results, and write a decision.

Read More
CDC tool window.

SQL SERVER – Introduction to Change Data Capture (CDC) in SQL Server 2008

August 15, 2009
Pinal Dave
SQL Tips and Tricks
Change Data Capture, Database, SQL Data Storage, SQL Scripts, SQL Server, SQL Utility

My first article on Simple-Talk introduces Change Data Capture in SQL Server 2008, which records INSERTs, UPDATEs and DELETEs in simple relational change tables.

Read More
Two red ceramic pitchers stand beside a blue pitcher on a sunlit workbench.

SUM DISTINCT: Equal Amounts Are Not Duplicate Rows

August 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Scripts, SQL Server

SUM DISTINCT totals different amounts without checking order identity. I’d establish the row grain first. Compare equal-priced orders, repeated copies and missing amounts.

Read More
Previous 1 … 354 355 356 357 358 359 360 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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