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
Sep14

Spreading Rows Into Hash Buckets With CHECKSUM and Modulo

Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server
No Comments

Equal row counts do not mean equal work, and patterned keys can pile into one bucket. Here is how to test your buckets before adding workers.

Continue Reading
Sep13

SQL SERVER – Convert Decimal to Time Format in String

Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Function, SQL Scripts, SQL Server, SQL String
4 Comments

A very strange question I received the other day in an email about how to convert decimal to time format string.

Continue Reading
Sep12

SQL SERVER – How to Create Linked Server to SQL Azure Database?

Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Azure, SQL Error Messages, SQL Server
7 Comments

If you take the normal approach to create a linked server to SQL Azure Database, then you would end up in below error message.

Continue Reading
Sep11

SQL SERVER – Removing Duplicate String Characters with Ordered Aggregation – Part 2

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String
6 Comments

I can Remove Duplicate characters while preserving their first-occurrence order. This second method uses explicit positions and ordered aggregation.

Continue Reading
Sep10

How to Insert Line Break in SQL Server String? – Interview Question of the Week #139

Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, SQL String
5 Comments

How do you insert a Line Break in a SQL Server string? Just press Enter inside the string, and switch SSMS results to text to see it. Here is how it works.

Continue Reading
Sep9

SQL SERVER – Unable to Get Listener Properties Using PowerShell – An Error Occurred Opening Resource

Pinal Dave
SQL Tips and Tricks
AlwaysOn, PowerShell, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Cluster
3 Comments

A client could not change listener properties with PowerShell and got “An error occurred opening resource”. Here is the T-SQL query I shared and what fixed it.

Continue Reading
Sep8

SQL SERVER – How to Find UNIQUE Key Columns? – sp_special_columns

Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server, SQL Stored Procedure
No Comments

Want to know which columns uniquely identify a row in a table? The system stored procedure sp_special_columns tells you. Here is a quick demo.

Continue Reading
Previous 1 … 253 254 255 256 257 258 259 … 846 Next

SQL Server slow? Let's fix it together in about four hours.

Pinal Dave

In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.

You keep every script, and the know-how to fix it yourself next time.

Want your whole team to learn it?

My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.

Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.


Who We Are

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.


Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

  • Books
  • Testimonials
  • Privacy Policy

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