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
Oct6

Why ’10’ + 5 Returns 15: Mixing Strings and Numbers

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

The plus sign adds or glues text depending on the types on each side. I show the surprise, the error 245 it can cause, and how text keys get hurt.

Continue Reading
Oct5

SQL SERVER – Fix Error Msg 35336 Working with ColumnStore Indexes

Pinal Dave
SQL Tips and Tricks
ColumnStore Index, In-Memory OLTP, SQL Error Messages, SQL Scripts, SQL Server
No Comments

A bank moving from SQL Server 2012 to 2016 wanted to use non-clustered ColumnStore indexes. Here is the error Msg 35336 we hit and how to fix it.

Continue Reading
Oct4

Calling a REST API From T-SQL With sp_invoke_external_rest_endpoint

Pinal Dave
SQL Tips and Tricks
JSON, SQL Server, SQL Server Security, SQL Stored Procedure
No Comments

Use sp_invoke_external_rest_endpoint in SQL Server 2025 with controlled permissions, JSON responses, protected credentials, and retries.

Continue Reading
Oct3

Out-of-Row Storage for varchar(max): Keeping Data Pages Small

Pinal Dave
SQL Tips and Tricks
Data Visualization, Data Warehousing, Master Data Services, SQL Data Storage
No Comments

Turn on the out-of-row option and nothing happens until you rewrite the data. I measure pages and reads at each step so you can see the real trade.

Continue Reading
Oct2

How to Introduce Time Delay Between Two T-SQL Commands? – Interview Question of the Week #091

Pinal Dave
SQL Interview Questions and Answers
SQL DateTime, SQL Function, SQL Server
6 Comments

How do you introduce a Time Delay between two T-SQL commands? An interview question developers ask often, answered with WAITFOR DELAY.

Continue Reading
Oct1

PowerShell – Create a User with Read Rights on a Database

Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Login
6 Comments

A DBA kept creating database users by hand. Here is a simple PowerShell and SMO script to create a user with read rights on a database.

Continue Reading
Sep30

SQL SERVER – Simple Example of BCP Command Line Utility

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server, SQL Utility
20 Comments

Need to export table data fast? A step by step, simple example of the BCP Command Line Utility, from finding bcp.exe to running the export.

Continue Reading
Previous 1 … 303 304 305 306 307 308 309 … 847 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