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
Gouache painting of a wall of cream and sage skeins in cubbies with one vermilion skein

Search a Query Plan for a Table: Find Node and XQuery

January 25, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Server, SQL Server Management Studio

Search a query plan for a table with the Find Node feature in SSMS, or with XQuery over the plan XML. A demo query reads one table twice, and both methods find both visits. The post also shows how to save a plan file for later.

Read More
Transactions and Variables

Transactions and Variables – SQL in Sixty Seconds #150

January 22, 2021
Pinal Dave
SQL Tips and Tricks
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Transactions

Transactions and Variables both are not related at all. There is no impact of a transaction on a variable. Let us learn about it today.

Read More
Folded patterned fabrics of different thicknesses share a shelf

What is N in nvarchar? – Interview Question of the Week #301

January 21, 2021
Pinal Dave
SQL Interview Questions and Answers
SQL Datatype, SQL Server, SQL String

Question: What is N in nvarchar?

Answer: n in nvarchar or nchar stands for world national. Let us learn today about datatypes.

Read More
datatype decimal

SQL SERVER – Datatype Decimal Explained – Datatype Numeric

January 20, 2021
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server

Just the other day I received an email from a client who was confused about the Datatype Decimal. Let us learn today how it works.

Read More
Gouache painting of a bakery bench with trays and bowls beside a small vermilion side table holding a few cookie cutters

Room for an Index Build: Free Space and TempDB Placement

January 19, 2021
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL TempDB

Room for an index build is the free space that your database and tempdb need before the build starts. This post estimates the index, checks both places, breaks a build on purpose, and shows what SORT_IN_TEMPDB moves and what it leaves in your database.

Read More
Birds spaced along a power line except around one red insulator where dozens crowd together

Finding the Indexes Behind Lock Waits With Operational Stats

January 18, 2021
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Lock, SQL Wait Stats

Rank indexes behind lock waits with operational stats, separate latches from locks, and test targeted access or row versioning fixes.

Read More
Gouache painting of pears in a divided crate beside a loose pile of pears, with one vermilion pear in the grid

Grid vs Text Output in SSMS: Why Line Breaks Disappear

January 15, 2021
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio, SQL String

Grid vs text output is a Management Studio setting that decides whether the line breaks in your data stay visible. This post builds a value with a line break, proves with T-SQL that the data holds it, and shows how to keep the break in each mode.

Read More
Previous 1 … 77 78 79 80 81 82 83 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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