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
SQL error message dialog.

SQL SERVER – FIX: Msg 35250 – The Connection to the Primary Replica is Not Active. The Command Cannot be Processed

July 25, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL High Availability, SQL Scripts, SQL Server

A reader still got Msg 35250 after my first post, with no mirroring login error in the ERRORLOG. Here are the endpoint and service account checks I asked for.

Read More
A polished wooden ship's wheel on an old ship's bridge with a child's swimming bag hanging from one spoke.

Finding User Objects in master Created by Accident

July 24, 2017
Pinal Dave
SQL Tips and Tricks
DBA, SQL Dependency, SQL Server, SQL System Table, System Database

Find user objects in master, inspect their purpose and dependencies, and prepare a safe move without removing deliberate server helpers.

Read More
Two repeated runs of five work aprons and two rest scarves on a clothesline

How to Count Week Days Between Two Dates? – Interview Question of the Week #132

July 23, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL DateTime, SQL Scripts, SQL Server

How do you count Week Days between two dates in SQL Server? Here is a short script I built from scratch using spt_values and DATEPART.

Read More
Saddle stirrups connected to one rail by different leather straps

Finding Which Network Protocol Each Session Uses

July 22, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, Computer Network, SQL Server

Before you switch off a protocol, find out who still uses it. Two short queries show how each session connected, and why the address is not a person.

Read More
SQL SERVER - Invalid Object Name 'master.dbo.spt_values' in Management Studio

SQL SERVER – Invalid Object Name ‘master.dbo.spt_values’ in Management Studio

July 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio, SQL System Table

A client ran U_tables.sql from the Install folder by hand and then hit Invalid Object Name ‘master.dbo.spt_values’ in Management Studio. Here is why.

Read More
Shareable network link dialog.

SQL SERVER – Can I Delete Always On Availability Groups Initial Sync Folder?

July 20, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Server

Can you delete the shared folder used for the initial sync of Always On availability groups? A client asked, and yes, you can remove it without any impact.

Read More
Incrementing Number.

SQL SERVER – Interesting Observation – Count of Temporary Table Re-generations

July 19, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio, Temp Table

A workshop attendee asked how to know the count of temporary table re-generations for a single temp table. Here is how I find it.

Read More
Previous 1 … 258 259 260 261 262 263 264 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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