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 - Recently Executed T-SQL Query

SQL SERVER – Recently Executed T-SQL Query

October 16, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Function, SQL Scripts, SQL System Table

fn_get_sql() and DBCC INPUTBUFFER will be deprecated. Use sys.dm_exec_query_stats and sys.dm_exec_sql_text to see each recently executed T-SQL query.

Read More
Fresh shoots and established seedlings share a tray beside an adjustable growth guide.

SQL SERVER – Enable Automatic Statistic Update on Database

October 15, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Statistics

Automatic statistics updates respond to changing data and query needs. I inspect the setting and estimates before treating it as a tuning fix.

Read More
Gouache painting: two small trays sit side by side holding the same pair of shortbread rounds, one scalloped and one plain

VALUES Type Inference: Cast Before Combining Rows

October 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server

VALUES type inference chooses a common column type. Preserve formatting-sensitive text by making source conversions explicit before combination.

Read More
SQL SERVER - Query Optimization - Remove Bookmark Lookup - Remove RID Lookup - Remove Key Lookup - Part 3

SQL SERVER – Query Optimization – Remove Bookmark Lookup – Remove RID Lookup – Remove Key Lookup – Part 3

October 12, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server

Part 3 of how to Remove Bookmark Lookup, RID Lookup and Key Lookup. A covering index holds every column the query uses in SELECT, JOIN and WHERE.

Read More
Two differently sized plain metal connectors resting beside a matching adapter on a wooden table.

The Implicit Conversion That Quietly Kills Your Index

October 10, 2009
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Find an implicit conversion in your SQL Server plan, understand which value changes type, and match application parameters to indexed columns.

Read More
SQL SERVER - Queries Waiting for Memory Allocation to Execute

SQL SERVER – Queries Waiting for Memory Allocation to Execute

October 9, 2009
Pinal Dave
SQL Performance
SQL Memory, SQL Scripts

Find queries waiting for memory allocation with sys.dm_exec_query_memory_grants, plus wait_order and the query plan, when you suspect memory is short.

Read More
Execution plan for SQL Server query.

SQL SERVER – Query Optimization – Remove Bookmark Lookup – Remove RID Lookup – Remove Key Lookup – Part 2

October 8, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Part 2 compares two ways to remove key lookup and remove RID lookup: a covering non-clustered index versus an index with included columns.

Read More
Previous 1 … 275 276 277 278 279 280 281 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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