SQLServer

SQLServerCentral Article

A Step by Step Guide to the Availability Group (AG) Listener

  • Article

Availability databases hosted on SQL Server Always On Availability Groups (AG) can be connected using a unique Virtual Network Name (VNN), called the Availability Group Listener. When an Availability Group is enabled, clients can connect to databases in both primary and secondary replicas without explicitly specifying the SQL Server instance name. You don’t even need […]

5 (1)

2021-05-17

2,287 reads

SQLServerCentral Article

Fixing "Login failed for user" error in SQL Server

  • Article

In this article, I am going to explain fixing a problem related login failure error with SQL Server. The Problem One of the common error in the SQL Server error log is "Login failed for user 'DomainName\ServerName$'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]". Even though it says that […]

2020-11-24

15,698 reads

SQLServerCentral Article

Generate Role Member Reports using dbatools and the ImportExcel PowerShell modules

  • Article

Being able to get information and save it on a Excel as a report can be a common and tedious task. What if we could join dbatools and ImportExcel PorwerShell modules to accomplish this in a easier and fast way? We will see how to export roles and its' member and save that info on a multi spreadsheet Excel file with handy tables ready to be explored.

5 (2)

2020-06-30

5,262 reads

Blogs

Registered for the Data Community Summit

By

I was reminded this week that I needed to get registered for the Data...

Daily Coping 5 Oct 2022

By

Today’s coping tip is to choose to see your mistakes as steps to help...

Restore HEADERONLY and FILELISTONLY

By

Good day reader.  This post is coming to you from a busy week in...

Read the latest Blogs

Forums

Change tracking - Date a row changed

By cbarus

We have change tracking enabled on one of our databases and I am looking...

Grant user permissions to a view but the base tables live in another database

By Maxer

I have two databases on the same server.  I have a service account I...

The ORDER BY clause is invalid in views

By micky007

Hi, I'm trying to run the below SQL code but I'm getting this error:...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers