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 wooden marble run with a bend and a single vermilion marble rolling down it

BETWEEN vs IN in SQL Server: Which One Reads Less?

October 1, 2020
Pinal Dave
SQL Performance
SQL Index, SQL Operator, SQL Scripts, SQL Server

BETWEEN vs IN looks like a style choice, and it is not. This post builds a demo table and measures BETWEEN, the two operators and an IN list with and without an index. It shows that BETWEEN and the operators share one plan, that IN seeks once for every value and that sparse values change the question.

Read More
Woven strips of different widths occupy fixed compartments and flexible storage channels.

SQL SERVER – Unicode Storage and UTF8 Version Limits

September 30, 2020
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server, SQL String

nchar and nvarchar are usual types for Unicode character strings in SQL Server. Reader questions prompted my datatype summary.

Read More
non-English

Varchar vs Nvarchar – Storing Non-English Characters – SQL in Sixty Seconds #126

September 29, 2020
Pinal Dave
SQL Video
SQL Datatype, SQL in Sixty Seconds, SQL String

Let us learn how to store non-English Characters in SQL Server tables. You will learn in this video the major difference between VARCHAR and NVARCHAR.

Read More
non-English

SQL SERVER – Storing a Non-English String in Table – Unicode Strings

September 28, 2020
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server, Unicode

Yesterday I had a meeting with my client Performance Health Check, and they wanted to know how to store a non-English string in a table. 

Read More
Branches connect to one rooted tree, with a vermilion band marking their shared trunk

How to Get Volume Mount Point for SQL Server Files? – Interview Question of the Week #295

September 27, 2020
Pinal Dave
SQL Interview Questions and Answers
Computer Network, SQL Scripts, SQL Server

Question: How to Get Volume Mount Point for SQL Server Files? 

Answer: I was asked this question by my client during the recent Health Check.

Read More
An empty coastguard lookout hut on a cliff while a vermilion distress flare arcs over the sea.

SQL Agent Operators and Notifications: Who Gets the Alert

September 26, 2020
Pinal Dave
SQL Tips and Tricks
Database Mail, DBA, SQL Monitoring, SQL Server Agent

Configure SQL Agent operators, connect jobs and alerts to email notifications, test delivery, and verify notification evidence.

Read More
nested transaction

Nested Transactions are Myth – SQL in Sixty Seconds #125

September 25, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Performance, SQL Scripts, SQL Server, SQL Transactions

Many sent me an email that they want to know more about the nested transactions. Let us learn about them in today’s blog post. 

Read More
Three nested frames surround one shared unfinished workpiece.

SQL SERVER – Finding Open Transactions for Session – @@TRANCOUNT

September 24, 2020
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, SQL Transactions

To inspect Open Transactions for Session nesting on my connection, I use @@TRANCOUNT. It does not directly inspect another session.

Read More
Gouache illustration of Simple Recovery, comparing a complete recovery case with separately retained layers for a restoration sequence.

SQL SERVER – Simple Recovery Model and Restrictions

September 23, 2020
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Log, SQL Scripts, SQL Server

Simple Recovery changes recovery options before it changes a performance diagnosis. I choose it from the agreed recovery requirements.

Read More
Temp Table in

Dropping Temp Table in Stored Procedure – SQL in Sixty Seconds #124

September 22, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Performance, SQL Scripts, SQL Server, SQL Stored Procedure, SQL TempDB, Temp Table

Is dropping temp table in stored procedure code really needed? In this SQL in Sixty Seconds video, I compare two procedures to show what happens.

Read More
Previous 1 … 63 64 65 66 67 68 69 … 591 Next
  • Books
  • Testimonials
  • Privacy Policy

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