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 ladder against one big haystack in a field, a red pitchfork starting the search.

An Index Seek That Reads Millions of Rows: Residual Predicates

August 24, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Diagnose an index seek that reads far more rows than it returns by checking residual predicates, Actual Rows Read and index key order.

Read More
A portion scoop beside a mound and equal portions of the same mixture

Readable File Sizes: Converting Bytes to KB, MB and GB

August 20, 2013
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Datatype, SQL Server

Turn raw bytes into friendly sizes without losing accuracy. Includes the overflow trap and the 500 GB drive that shows as 465.7.

Read More
A hand picking a single small star-shaped shell out of a long tideline of scattered shells on a beach.

Escaping Wildcards in LIKE: Searching for % and _ Literally

August 19, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

Handle escaping wildcards in SQL Server LIKE searches with brackets, ESCAPE, and a reusable function that preserves literal input.

Read More
Equal lengths of plank stacked neatly, a large leftover piece dropped in a red scrap bin.

Integer Division in T-SQL: Why Your Percentages Come Out Zero

August 17, 2013
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Datatype, SQL Server

Fix integer division in T-SQL percentages from COUNT, SUM and window calculations with decimal types and rounding at the right step.

Read More
A bookbinder's bench with an old book's pages beside a new red cloth cover.

Converting Deprecated TEXT, NTEXT and IMAGE Columns Safely

August 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Deprecated Feature, SQL Server, SQL Upgrade

Inventory deprecated TEXT, NTEXT and IMAGE columns, convert to MAX types, move small values in row, and measure logging and space costs.

Read More
Two small wooden blocks are joined by one simple brass latch on an oak table.

Keeping ACID Across More Than One Server

August 8, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Understand a distributed transaction through two-phase commit, uncertain outcomes, coordinator recovery, and alternative business guarantees.

Read More
Four small wooden trays holding different numbers of smooth pebbles on a warm oak tabletop.

The Four Window Functions You Will Actually Use

August 5, 2013
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Learn four practical window functions with SQL examples for numbering rows, ranking ties, comparing previous values, and calculating running totals.

Read More
Previous 1 … 259 260 261 262 263 264 265 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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