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 - Columnstore Index and sys.dm_db_index_usage_stats

SQL SERVER – Columnstore Index and sys.dm_db_index_usage_stats

May 14, 2012
Pinal Dave
SQL Performance
ColumnStore Index, SQL DMV, SQL Index, SQL Scripts, SQL Server

My Columnstore index DMV script failed on SQL Server 2012 RTM because sys.column_store_index_stats was gone. What I found next, with sys.dm_db_index_usage_stats.

Read More
Glazed tiles sorted into tall single-color stacks in a workshop, a hand lifting the whole blue stack from the row.

Columnstore Indexes for Reporting Tables

May 13, 2012
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, SQL Index, SQL Performance, SQL Server

Columnstore indexes for reporting tables can cut scan work, but clustered and nonclustered designs affect loading and point lookups differently.

Read More
An adjustable curtain rod aligns repeated mounting holes before the curtains are fitted

Filling Template Parameters in SSMS With Ctrl+Shift+M

May 12, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut, SQL Variable

Template parameters save you from typing one value in four places, but they only paste text. Here is what that means in practice.

Read More
A pottery rib shapes a clay vessel beside a trimmed clay strip and a newly attached clay handle

XML modify(): Inserting, Replacing and Deleting Nodes

May 11, 2012
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Table Operation, SQL Variable, SQL XML

The modify() method edits XML in place, but a path that matches nothing changes nothing and says nothing. Here is how to stay in control.

Read More
A seam ripper rests at an interrupted line of stitching with loose thread and unfinished cloth

Timed-Out Queries in Query Store: Finding Aborted Executions

May 10, 2012
Pinal Dave
SQL Tips and Tricks
Query Store, SQL DMV, SQL Error Messages, SQL Monitoring

An aborted row is a clue, not a verdict. Here is how to read Query Store execution types and match them with what the caller saw.

Read More
A pastry crimper seals a pie edge through its fixed toothed shape beside unused decorative cutters

Dynamic ORDER BY Without Injection: Whitelisting Sort Columns

May 9, 2012
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Order By, SQL Server Security, SQL Variable

Parameters cannot name a column, so grids end up gluing text into SQL. Here is the approved-list pattern that keeps the sort safe.

Read More
SQL SERVER - Quiz and Video - Introduction to Hierarchical Query using a Recursive CTE

SQL SERVER – Quiz and Video – Introduction to Hierarchical Query using a Recursive CTE

May 8, 2012
Pinal Dave
SQL Puzzle
SQL in Sixty Seconds, SQL Scripts, SQL Server

Learn to write a hierarchical query using a recursive CTE with a short video and a quiz on an employee and manager table. Check your answer.

Read More
Previous 1 … 538 539 540 541 542 543 544 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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