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
Illustrated cover: AUTO_CLOSE: Turn It Off

SQL SERVER – Set AUTO_CLOSE Database Option to OFF for Better Performance

September 22, 2016
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Configuration, SQL Server Management Studio

How I helped a customer get better performance by setting the AUTO_CLOSE Database Option to OFF, and why this setting hurts busy databases.

Read More
Gouache painting of a brass service bell with a red felt cap on a flower shop counter in front of buckets of tulips

SET NOCOUNT ON in SQL Server: How to Hide Rows Affected Messages

September 21, 2016
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Management Studio, SQL Stored Procedure

SET NOCOUNT ON stops SQL Server from sending a rows affected message after every statement. This post tests what it changes and what it doesn’t: @@ROWCOUNT, scope inside a procedure, timing and the text that sp_updatestats prints. It also covers client programs that depend on the count.

Read More
Gouache painting of a trimmed date fruit on a cutting board with the trimmings in a small red dish

Change in Date Format: Why LEFT Turns GETDATE Into Text

September 20, 2016
Pinal Dave
SQL Puzzle
SQL DateTime, SQL Function, SQL Scripts, SQL Server

A change in date format shows up when you apply LEFT to GETDATE: the date goes from year first to month name first. This puzzle explains the implicit conversion behind it, how language settings change the text, and how to get the date you want on purpose.

Read More
SQL SERVER - How to INSERT or SELECT Copyright Special Characters in SSMS?

SQL SERVER – How to INSERT or SELECT Copyright Special Characters in SSMS?

September 19, 2016
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

A reader asked how to insert or select copyright special characters in SSMS. The answer is ALT codes, like ALT + 0169 for the copyright sign, plus two more.

Read More
A utility hatch opened to reveal maintenance tools in a wall

How to Find Missing SQL Server Configuration Manager? – Interview Question of the Week #089

September 18, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Management Studio, Starting SQL

Question: I just installed the latest version of SQL Server and now I am not able to find SQL Server Configuration Manager. What should I do?

Read More
Gouache painting of a line of small paper boats waiting before a canal lock gate, the first one painted red

Resource Bottlenecks in SQL Server: A Wait Stats Script That Groups Them

September 17, 2016
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server, SQL Wait Stats

Resource bottlenecks hide in the wait statistics, under a pile of idle waits and totals since startup. This post builds a script that removes the idle waits, measures an interval and groups the rest by resource. It also explains how to read each group and the signal wait.

Read More
SQL SERVER - Case of Different Default Collation on Two Servers

SQL SERVER – Case of Different Default Collation on Two Servers

September 16, 2016
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Server

My client saw a different default collation on two servers installed with SQL Server 2012. Here is what decides the default collation during setup.

Read More
Previous 1 … 196 197 198 199 200 201 202 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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