Queries in the same window for multiple databases, servers, and tables
I was wondering in SSMS in the query window could I write multiple queries that use different servers, databases, and tables? A compounded question and answer I am expecting for this.
SQL 2022 Timeout issues
We recently migrated our databases from SQL Server 2014 to SQL Server 2022 and have noticed sudden timeout issues occurring in the application, specifically with stored procedures containing SELECT queries in the SQL 2022 database. These timeouts are…
Performance degraded under 2000 records in SQL Server 2022 compare to SQL Server 2019
Hi, I have observed that bulk delete operation is having poor performance SQL Server 2022 SQL Server 2019 Number of records - array:10000000 Operation - DELETE Operation Delete Operation taken time is : 34703 ms SQL Server 2022 Number of records -…
Need help with proper step flow for putting a database into a Distributed AG
This is a bit long, but I want my explanation to be thorough. I'm trying to get a couple of large databases added to a new Distributed AG setup. The setup consists of 4 servers, 2 in each of 2 sites. The 2 servers in each site are contained in a Local AG…
Blazor and SSRS/Report viewer
Hi, We are wondering, if it's possible to use Report Viewer (any Blazor components) or embed SSRS report (no IFrame) in Blazor. Is there such thing out there besides solutions like what Telerik or BoldReports provide? We're looking at a solution with…
Azure SQL Session Limit Reached
This morning I started getting an error stating that the session limit for the database of 4800 has been reached and I can no longer log into SQL Server Management Studio and the databases I have created that access the Azure SQL Server bring up the same…
Debian 12 public key is not available
Trying to install mssql-tools, after registering the repository for Debian 12 (Docker image): RUN curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc && \ curl…
Comparison of actual database schemas against each other (within one database)
Hi all, for a small project I created a database within Azure and one schema for dev and one for prod (to save run cost). I would like to compare these two schemas now with Azure Data Studio, but it looks like, that I can only compare databases with one…
Cannot connect to deskstop in sql serve
I cannot connect to desktop, so help me fix this error
default password of NT SERVICE/MSSSQLSERVER account
i want default password of NT SERVICE ACCOUNT of MSSQL SERVER
Can I delete the RSTempfiles for microsoft report server?
There's and RSTempFiles folder on the report services server, that is taking up so much space. from my understanding and what others are saying. These are temporary files caused either by a report that's has a high number of requests. But we cannot…
How often does SQL Server contact the Azure Key Vault for a Certificate or Key?
I would like to use Azure Key Vault rather than Windows Store to store my SQL Server TDE Certificates/Keys, Server Certificates, and Always Encrypted Keys. However, I want to know how often the server connects to Azure Key Vault and polls the keys and…
Database engine failed SQL Server 2022
Database engine failed to install. I have gone through all the solutions posted but nothing worked. find below my summary report: Overall summary: Final result: Failed: see details below Exit code (Decimal): -2147467259 …
SET FMTONLY ON/OFF is deprecated according to the docs and should be replaced by sp_describe_first_result_set. But sp_describe_first_result_set returns 'incorrect syntax' message on correct queries. How to correctly migrate?
Using this simple table structure: CREATE TABLE Persoon_ ( ID INT, Adres NVARCHAR(50) ) CREATE TABLE Factuur_ ( ID INT, Debiteur INT, Persoon INT, Bedrijf INT, Derde INT ) CREATE TABLE Bedrijf_ ( ID INT, FactuurAdres NVARCHAR(50), …
How to hash a password in asp.net core and use it in a stored procedure
Hi there; There are a lot of examples of SQL stored procedures for User Validations (credential checks) but all of them the password is in text format which is bad security practice. The idea is to hash the password in the client side ( in this case is…
Issue installing SQL Server 2022 Express
I am trying to install SQL Server 2022 Express. Whenever I go to run the installation, nothing happens after it prompts me for admin elevation. I checked Event Viewer and I saw this: Faulting application name: SQL2022-SSEI-Expr.exe, version:…
Number of query values and destination fields are not the same
Hi All, I received the TXT files from my vendor every morning. My objective is to convert this TXT file into Excel (.xlsx) file for my internal customer. I would appreciate it if you can point me in the right direction to resolve the issue. Thank you; I…
Is there any background round operation for floats?
select ceiling(1285.0992 / 1.94712) result for the query above is 660 but the query below gives 661 as a result. declare @var1 float = 1285.0992 declare @var2 float = 1.94712 select ceiling(@var1 / @var2) can anyone tell me how that is?
Host Restarts in Azure Function Triggered by EventHub, Causing Data Loss
Hello, I'm currently working with a ~v4 Azure Function running on Linux, implemented in python 3.9 (using v2 programming model), which is triggered by EventHub. The function processes incoming payloads, performs transformations, and writes the data into…
Cannot backup SQL server db with private endpoint link to azure blob storage
Hello, As I have mentioned on above title, we are trying to backup our database to blob storage using publicly available Runbook from run book gallery (Backup Azure SQL Databases to Blob storage Runbook by josegomera). We were able to get the backup up…