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 - Detecting Database Case Sensitive Property using fn_helpcollations()

SQL SERVER – Detecting Database Case Sensitive Property using fn_helpcollations()

October 6, 2011
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL DMV, SQL Function, SQL Scripts, SQL Server

Is your database Case Sensitive? Find its collation, then look it up in fn_helpcollations() and read the description. A quick answer from my Office Hours.

Read More
A stack of plain translucent paper sheets beside one fresh blank sheet on a wooden table.

Temporal Tables: Keeping History Without a Trigger

October 5, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use temporal tables to retain earlier row versions, query a past state, and plan history storage without confusing version history with user auditing.

Read More
A bootjack beside a compact leather boot and another expanded by a thick wool sock

Growing varchar Updates: How Longer Values Split Pages

October 4, 2011
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server

A varchar column costs almost nothing while it is empty and a lot once people fill it in. Here is the page count before and after, and what a rebuild recovers.

Read More
A folded route card on a desk showing three numbered stages joined by arrows

How to Read a SQL Server Execution Plan

October 3, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An execution plan is SQL Server showing its working. Read it inside out, learn the six operators you actually meet, ignore the cost percentages, and compare estimated rows with actual rows instead.

Read More
Gouache painting: three glass jars with lids on a pantry shelf and two loose red lids lying beside them

FULL JOIN: Preserve Unmatched Rows on Both Sides

October 2, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

FULL JOIN preserves both source sides. Keep identifiers visible while reviewing ordinary equality, unmatched rows and later filters.

Read More
A line of footprints in fresh snow crossing a courtyard to a closed door, with no one in sight.

Reading the Transaction Log With fn_dblog

September 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Backup and Restore, SQL Server, Transaction Log, Undocumented SQL

fn_dblog can expose transaction-log records during a narrow investigation, but retention and missing user context make it a last resort.

Read More
A broad rug beater beside a hanging rug and a much smaller soft brush

Stop Chasing Every Seek: When a Table Scan Is the Right Plan

September 28, 2011
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server

A Clustered Index Scan is not always the problem. Count the reads for a seek with lookups, a scan and the optimizer’s own pick, then see when the seek really wins.

Read More
Previous 1 … 309 310 311 312 313 314 315 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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