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
SQL SERVER - Computed Column - PERSISTED and Performance - Part 2

SQL SERVER – Computed Column – PERSISTED and Performance – Part 2

August 4, 2010
Pinal Dave
SQL Performance
SQL Scripts

Part 2 on PERSISTED and performance shows the other side: when non-persisted computed columns give better performance than PERSISTED ones.

Read More
SQL SERVER - Computed Column - PERSISTED and Performance

SQL SERVER – Computed Column – PERSISTED and Performance

August 3, 2010
Pinal Dave
SQL Performance
Computed Column, SQL Scripts, SQL Server

My computed column series in one list: PERSISTED versus non-persisted for storage and speed, and how an index on the column improves performance.

Read More
A muffin tin with one empty cup, while two muffins are squeezed together into the cup next to it.

Relational Division in T-SQL: Customers Who Bought Every Product

August 2, 2010
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL Server, SQL Sub Query

Solve relational division with counts and double NOT EXISTS, then handle duplicates, NULL values, empty requirements, and exact matching.

Read More
Execution Plan test result.

SQL SERVER – Introduction to BINARY_CHECKSUM and Working Example

August 1, 2010
Pinal Dave
SQL Tips and Tricks
Database, SQL Function, SQL Scripts

BINARY_CHECKSUM helps detect changes in a row. My working example shows how it works and why it misses a value changed from A to B and back to A.

Read More
Gouache painting: two squares of leather overlapped in the middle of a cutting table, one slate blue and one cream, offset diagonally

geometry STDifference: Keep the Subtraction Direction

July 31, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry STDifference is directional. Two overlapping equal-area rectangles can produce equal remaining areas while retaining entirely different regions.

Read More
SQL SERVER - Check Advanced Server Configuration

SQL SERVER – Check Advanced Server Configuration

July 29, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration, SQL Stored Procedure

How do you Check Advanced Server Configuration values? Turn on show advanced options with sp_configure, run RECONFIGURE, then run sp_configure to list them.

Read More
SQL SERVER - Computed Column - PERSISTED and Storage

SQL SERVER – Computed Column – PERSISTED and Storage

July 27, 2010
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Data Storage, SQL Scripts, SQL Server

How a computed column is created and why PERSISTED and storage go together: persisted columns take more space. Plus links to the whole series.

Read More
Previous 1 … 254 255 256 257 258 259 260 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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