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 stack of plain translucent paper sheets beside one fresh blank sheet on a wooden table.

Temporal Tables: Keeping History Without a Trigger

October 5, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use temporal tables to retain earlier row versions, query a past state, and plan history storage without confusing version history with user auditing.

Read More
SQL SERVER - Quick Note about JOIN - Common Questions and Simple Answers

SQL SERVER – Quick Note about JOIN – Common Questions and Simple Answers

October 4, 2011
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

A quick note about JOIN for T-SQL Tuesday: common questions I get in my office hours, answered simply, like which join method is better.

Read More
A bootjack beside a compact leather boot and another expanded by a thick wool sock

Growing varchar Updates: How Longer Values Split Pages

October 4, 2011
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server

A varchar column costs almost nothing while it is empty and a lot once people fill it in. Here is the page count before and after, and what a rebuild recovers.

Read More
A folded route card on a desk showing three numbered stages joined by arrows

How to Read a SQL Server Execution Plan

October 3, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An execution plan is SQL Server showing its working. Read it inside out, learn the six operators you actually meet, ignore the cost percentages, and compare estimated rows with actual rows instead.

Read More
Gouache painting: three glass jars with lids on a pantry shelf and two loose red lids lying beside them

FULL JOIN: Preserve Unmatched Rows on Both Sides

October 2, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

FULL JOIN preserves both source sides. Keep identifiers visible while reviewing ordinary equality, unmatched rows and later filters.

Read More
Gouache painting: three identical white saucers on a counter each hold a small white mound that looks the same from a distance

SQL_VARIANT_PROPERTY: Inspect the Base Type

October 1, 2011
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

SQL_VARIANT_PROPERTY exposes a variant’s BaseType. Compare numeric, date, string and binary inputs with their stored base types intact.

Read More
Sys.dm_os_windows_info.

SQL SERVER – Denali – DMV – sys.dm_os_windows_info – Information about Operating System

September 30, 2011
Pinal Dave
SQL Tips and Tricks
SQL DMV

A quick look at sys.dm_os_windows_info, the new Denali DMV that returns information about the Windows operating system, with an example query.

Read More
Previous 1 … 568 569 570 571 572 573 574 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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