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
Mar29

SQL SERVER – How to Add Multiple New Columns to Table with Default Values?

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Table Operation
8 Comments

A reader asked how to add several columns with default values to an existing table. Here is a simple example to add multiple new columns with defaults.

Continue Reading
Mar28

MySQL – How to Drop Table If Exists in Database?

Pinal Dave
SQL Tips and Tricks
MySQL, SQL Table Operation
No Comments

SQL Server 2016 added DROP IF EXISTS, but MySQL has had it for years. Here is how to drop table if exists in a MySQL database.

Continue Reading
Mar27

What is a Self Join? Explain with Example – Interview Question of the Week #064

Pinal Dave
SQL Interview Questions and Answers
SQL Joins, SQL Scripts, SQL Server
7 Comments

What is a Self Join? It is a popular interview question for every developer. Here is a simple answer, whether it is inner or outer, and a practical use.

Continue Reading
Mar26

SQL SERVER – Patch Upgrade – Failed to connect to server. Error: 0x80070422

Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Server
No Comments

A client’s SQL Server 2008 R2 SP2 patch failed, and the setup logs showed Failed to connect to server, Error: 0x80070422. Here is how we traced and fixed it.

Continue Reading
Mar25

MySQL – ELT() and FILED() Functions to Extract Index Position From List

Pinal Dave
SQL Tips and Tricks
MySQL, SQL Function, SQL String
No Comments

MySQL’s ELT() returns the value at a given index position in a list, and FIELD() does the reverse. Here is how both functions work, with simple examples.

Continue Reading
Mar24

“I Don’t Know” – DBAs Should Learn to Use This Phrase – Notes from the Field #119

Pinal Dave
SQL Tips and Tricks
Career Advice, Notes from the Field
6 Comments

In Notes from the Field #119, Mike Walsh explains one of the most important things DBAs should learn: how and when to say ‘I don’t know’.

Continue Reading
Mar23

SQLAuthority Banner Journey: Five Looks in Ten Years

Pinal Dave
SQLAuthority News
Blogging, Memory Lane, SQL Milestone
17 Comments

The SQLAuthority banner journey, told by the banners themselves: the first banner of a blog called Journey to SQL Authority, a green one with an MVP badge, a blue one with a cloud, a poll winner, and the 2016 banner that is still at the top.

Continue Reading
Previous 1 … 331 332 333 334 335 336 337 … 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