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 skate rental counter by an ice rink, pairs of skates on hooks and one pair with vermilion laces.

Session State in SQL Server With Memory-Optimized Tables

October 10, 2022
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Memory, SQL Server, SQL Stored Procedure

Store transient session state in memory-optimized SQL Server tables with native reads and writes, expiry checks, and clear durability rules.

Read More
A shepherd's hand checking one darker stray sheep among a cream flock inside a stone-walled pen

Checking Constraints After a Bulk Load With DBCC CHECKCONSTRAINTS

September 19, 2022
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Server, SQL Server DBCC

Run DBCC CHECKCONSTRAINTS after a controlled bulk-load bypass, inspect violations, and restore enabled trusted CHECK and foreign-key rules.

Read More
A wooden butter stamp pressing a flower pattern into butter, a row of identical stamped pats behind it.

Prepared Statements and Plan Reuse From Application Code

July 25, 2022
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Server

Inspect prepared statements, handle lifetimes, parameter types, cached Prepared plans, and the limits of optimize for ad hoc workloads.

Read More
A line of hilltop beacon fires along a coast at dusk, one beacon in the middle dark and unlit.

Heartbeat Gaps: Finding Missing Check-Ins With LAG

June 28, 2022
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Monitoring, SQL Scripts, SQL Server

Detect missing check-ins with LAG, report closed heartbeat gaps, and find silent or never-seen sources using an explicit UTC tolerance.

Read More
A glassblower turning a half-formed glowing vase on a blowpipe, finished vases cooling on a shelf behind

Live Plans for Running Queries With sys.dm_exec_query_statistics_xml

June 23, 2022
Pinal Dave
SQL Performance
Execution Plan, SQL DMV, SQL Server, SQL Wait Stats

Read sys.dm_exec_query_statistics_xml for live plans, compare profile counts with estimates, and interpret partial progress carefully.

Read More
Sap dripping from a spout in a maple trunk into a hanging bucket, a full bucket set aside in the snow

Writing Agent Job Step Output to a Log File on Disk

June 21, 2022
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, SQL Server, SQL Server Agent

Preserve job step output in a server-side file, configure Agent tokens and append flags, and verify write permissions and retention.

Read More
A cafe umbrella stand full of identical black umbrellas, each handle tied with a different colored ribbon.

Tagging Queries With SESSION_CONTEXT to Trace App Users

June 9, 2022
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Connection, SQL Server, SQL Server 2016, SQL Server Security

Tag SQL Server work with SESSION_CONTEXT, read tags in audit defaults and modules, and handle read-only values and pooled connections.

Read More
Previous 1 … 5 6 7 8 9 10 11 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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