SQL Server xp_copy_files security thoughts and able to specify files older than only?
Hello noticed somewhat of a new recent feature xp_copy_files (for SQL Server2019 & higher) which we have SQL Server 2022 (believe most things similarly were done previously via xp_cmdshell which had security concerns). Is it correct to say…
Potential Issues with Deploying to SQL Server 2016 Using sqlcmd from Linux in GitHub Pipeline
We are deploying to SQL Server 2016, where our developers use sqlcmd on Windows machines for development. However, our GitHub pipeline is using a Linux runner with sqlcmd on Linux for deployment. Could this setup cause any compatibility or operational…

Select permission 2
Hello! Please excuse me for almost the same question as "Select permission" but there's one thing I'd like to be cleared up: I see that I can't query a user database (at least the databases for which the Guest account is disabled) until the…

summary.txt after rebuild the system database.
I ran the following command to rebuild the system database X:\Backups\2019>setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=domain\myusername Microsoft (R) SQL Server 2019 15.00.2000.05 Copyright (c) 2019 Microsoft. …
sql server 2019 developer edition cumulative update The patch installer has failed to update the shared features.
sql server 2019 developer edition cumulative update The patch installer has failed to update the shared features. Overall summary: Final result: The patch installer has failed to update the shared features. To determine the reason for…
TLS 1.2 issues SQL 2022. What do these error messages mean.
I have SQL Server 2022 Developer edition running with enforced encryption (TLS 1.2). For some reason I have frequent disconnects, from the logs it states that TLS is successfully activated and also the certificates are loaded. More often I get the first…

SQL Server T-SQL Debugging API
Hi, Where can I find the API to create a T-SQL debugger user interface? With regards, Martijn Tonies

How to truncate logs with log shipping enabled
Hello, I have a SQL Server 2016 server with multiple SQL Server instances acting as primary server in a log shipping configuration. I have configured log shipping as per…


Git Automation with SQL Tools and Visual Studio Code
So here's my situation: We have a database application created and maintained by a third party We have access to the application to debug/extend that application to meet our needs The third party software developer regularly modifies the application…
Splitting record data dependent on other table data
Hi, Hoping for some assistance. I have a table which holds how much consumer owe in two different buckets and there is another table where the transactions are held. I need to split the transactions based on how much consumer is owe in those buckets but…
EXCEPTION_ACCESS_VIOLATION reading address 0000000000000006 at 0x00007FFB4711429B
I am getting the below exception while executing insert query on hash table Exception: spid 124 Exception 0xc0000005 EXCEPTION_ACCESS_VIOLATION reading address 0000000000000006 at 0x00007FFB4711429B No values returned from the SQL Query. Please verify…
SQL Server Fails to Start After Reboot Due to Permission Issues
Hi, I had the local IT support install the SQL Server database on my laptop for development purposes. The installation was successful, and the SQL Server started properly. However, after I restarted my laptop, the SQL Server service failed to start. I…
SSMS option for lower case GUIDs
Visual Studio distinguishes between upper and lower case guids. By default, VS saves them in lower case. Because SQL prints them in upper case, frequently, it is too easy to have duplicate guids in Visual Studio coding because of case. For example: …

Performance counters
Hello , We are seeing the slow performance of the queries and wanted to know which performance counetsr we should focus on to get more info avout the the issues Thanks HImanshu

removestaledbentries: cleanup of stale db entries skipped beacuse master db is not memory optimized
removestaledbentries: cleanup of stale db entries skipped beacuse master db is not memory optimized The above message is occurring frequently and persistently. How can I resolve this issue?" sql-server 2022
Select permissions
Hello! While creating reports using bcp utility - *bcp "select Name, physical_name, state_desc, (size)8/1024, ... from msdb.sys.database_files ORDER BY Name" queryout C:\REPORTS\SQ\LUSERDB.txt -c -T ... *bcp "select Name, physical_name,…
while installing new sql instance getting error code: is not a valid installation folder
Hi Team we have an existing setup for sql server 2016 and package is available in c drive. Now we are creating new named instance at the time getting error "is not a valid installation folder" how to fix this issue. we tried copy the files to…

Should I use SSMS or 'Sentry Plan Explorer' in my scenario ?
Hello, I'm quite new in this area ... hence, apologize for the 'silly question'. I am using SSMS v18.12.1 My goal is to analyze slow performance in web-based application connected to MS SQL server. I tried to run 'slow' query in SSMS and then look into…

Azure Data Sync Issue Records Does Not Update
Data records was not getting sync from Member to Hub
Enclave-enabled like not working for Deterministic
We are using Azure SQL on cloud with the Enclave-enabled. A table created by: CREATE TABLE [dbo].[both] ( [id] INT IDENTITY(1,1) PRIMARY KEY, [ran] [varchar](100) COLLATE Latin1_General_BIN2 ENCRYPTED WITH (COLUMN_ENCRYPTION_KEY = [CEK1],…