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 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
Two rows of lettuces, a red marker stick standing in the one empty gap.

IS DISTINCT FROM in SQL Server 2022: NULL-Safe Comparisons

August 3, 2013
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Operator, SQL Server, SQL Server 2022

Use IS DISTINCT FROM for NULL-safe comparisons in SQL Server 2022, understand older workarounds, and inspect index seeks before changing code.

Read More
SQL SERVER - Disk Space Monitoring - Detecting Low Disk Space on Server

SQL SERVER – Disk Space Monitoring – Detecting Low Disk Space on Server

August 2, 2013
Pinal Dave
SQL Tips and Tricks
Disk, SQL Scripts, SQL Server, SQL Stored Procedure

A common question I get: how do you go about detecting low disk space on SQL Server? Here are two ways, including xp_fixeddrives, and the one I prefer.

Read More
Previous 1 … 265 266 267 268 269 270 271 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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