Skip to main content

Questions tagged [sql-server]

All versions of Microsoft SQL Server (not MySQL). Please also add a version-specific tag, like sql-server-2016, since it is often relevant to the question.

Filter by
Sorted by
Tagged with
3 votes
0 answers
67 views

I've come across what appears to be a strange deadlock graph/XML anomaly. As shown in the image below, a typical deadlock is shown (bottom), but then a completely isolated process graph is shown (top)....
Databae's user avatar
  • 31
2 votes
1 answer
244 views

I've got this table: CREATE TABLE [dbo].[CommitteeAssignments]( [sChamber] [char](1) NOT NULL, [nBillNumber] [int] NOT NULL, [nComNum] [int] NOT NULL, [nSeqNum] [int] NOT NULL, ...
NCGrimbo's user avatar
0 votes
1 answer
32 views

Suppose that I have a Failover Cluster Instance and I wish to add it to an Availability Group. Since I already have a Windows Server Failover Cluster, using a cluster type of WSFC should not be ...
J. Mini's user avatar
  • 1,340
-3 votes
0 answers
70 views

I have a 6 vCore Azure MSSQL database where I'm consuming from a Kafka topic at 4000 messages per second. No matter what I try it seems that this is pushing the limits of what's possible with this ...
Jonas Lomholdt's user avatar
0 votes
0 answers
59 views

SQL server has the default principals public and dbo. We also have a an Entra group in which our users are assigned so that they can login and can only do what permissions the group has. With this ...
JumbleGee's user avatar
0 votes
1 answer
64 views

We’re on SQL Server 2012 (ugh), and I’m trying to figure out the simplest and most reliable way to set up a nightly consolidation process on a tight timeline. We have multiple databases on different ...
Aamir Syed's user avatar
0 votes
0 answers
39 views

Let me describe my env first: Two nodes always on without AD (with witness share file) Both node is sql server 2022 and windows server 2022 Both node is in same subnet Set DNS server for these two ...
Chiu Chun Yu's user avatar
-3 votes
1 answer
116 views

Maintenance wizard jobs such as DB Integrity* or DB Reindex* or "Misc Cleanup" all error as of production RTM version of SS 2025. I know - 2 of the above jobs can also be Ola H jobs but ...
Jeff Shervey's user avatar
-3 votes
0 answers
55 views

Currently, we use SolarWinds DPA as our database monitoring tool, but SolarWinds recently changed its billing model, making DPA very expensive. Any suggestions for a monitoring tool? We need to ...
Jose Marcelo Dias de Oliveira's user avatar
0 votes
0 answers
85 views

Ok this restriction drives me crazy (and has driven me crazy for years): xp_cmdshell -> input command_string is varchar(8000) or nvarchar(4000) Understood it's not best practice to be using it in ...
David Rogers's user avatar
10 votes
1 answer
774 views

I have a table with two computed columns (indexed, but not persisted). The first computed column matches an existing column exactly. The second computed column is an expression that adds 0 to the ...
Michael J Swart's user avatar
0 votes
0 answers
58 views

We have laptops that are joined to an Azure tenant via intune. I would like to be able to do a double hop from SSMS on the laptop, over a linked server. The correct SPNs and delegations are set up on ...
AlexP012's user avatar
0 votes
1 answer
56 views

We need to move our Always On Availability Group (in SQL Server 2019) from one domain to another while still retaining the same computer names and IP addresses. I see that Server 2019 now supports ...
jwb's user avatar
  • 1
2 votes
1 answer
153 views

This morning, while checking the monitoring tool, I noticed an abnormally high LCK_M_SCH_M wait time on our testing SQL Server. Looking at the WhoIsActive table (which logs the result of ...
Tuyen Nguyen's user avatar
0 votes
1 answer
65 views

The documentation compares Log Shipping and Availability Groups with a Cluster Type of NONE. In SQL Server 2017 (14.x) and later versions, you can create a near-real time, read-only solution with AGs ...
J. Mini's user avatar
  • 1,340

15 30 50 per page
1
2 3 4 5
2340