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
Mixed bottles in a crate beside a sorted wooden wine rack, with three wax-sealed amber bottles drawn out together

Word Search Without Full-Text: Build a Word Index Table

May 6, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Search, SQL String

LIKE with a leading wildcard reads the whole table. A small side table of words turns that scan into a quick lookup, and you do not need full-text installed.

Read More
Columnstore index scan.

SQL SERVER – Identify Columnstore Index Usage from Execution Plan

May 4, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index

My two word Twitter reply was “From Operators,” so here is the full answer on how to spot columnstore index usage in the execution plan.

Read More
SQL SERVER - A Tricky Question and Even Trickier Answer - Index Intersection - Partition Function

SQL SERVER – A Tricky Question and Even Trickier Answer – Index Intersection – Partition Function

May 3, 2012
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts

Can one table, used once, give 2 join operators in an execution plan? Readers used ranking functions, and my own answer relies on index intersection.

Read More
A whole flowering branch grafted onto a new limb of an apple tree, the joint wrapped in red tape

Building an Org Chart Query With hierarchyid

April 13, 2012
Pinal Dave
SQL Tips and Tricks
CTE, SQL Datatype, SQL Index, SQL Server

Build an org chart with hierarchyid, query descendants and levels, move a team safely, and compare it with recursive queries.

Read More
A mother duck leading ducklings across a lawn, one duckling following another toward the pond

Modeling Friends and Followers With SQL Server Graph Tables

April 10, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Joins, SQL Server, SQL Server 2017

Build SQL Server graph tables for follows, mutual connections and friends of friends, then use shortest paths and compare a junction table.

Read More
SQL SERVER - Cleaning Up SQL Server Indexes - Defragmentation, Fillfactor - Video

SQL SERVER – Cleaning Up SQL Server Indexes – Defragmentation, Fillfactor – Video

April 4, 2012
Pinal Dave
SQL Video
SQL Index

Cleaning up SQL Server indexes starts with fragmentation. Learn the two types, when to reorganize or rebuild, and how fillfactor fits in.

Read More
SQL SERVER - Online Index Rebuilding Index Improvement in SQL Server 2012

SQL SERVER – Online Index Rebuilding Index Improvement in SQL Server 2012

March 30, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index

Online index rebuilding with VARCHAR(MAX) or NVARCHAR(MAX) columns failed in SQL Server 2008. SQL Server 2012 changes that, and here is my test.

Read More
Previous 1 … 31 32 33 34 35 36 37 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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