STAR Schema Model Design
Hello, I am planning to create START schema model but need to use existing views but looking data inside the views which have multiple records so it's hard to use ID which makes unique records. I was thinking to add ROW_NUMBER() to create Unique Key for…
SQL Server Database Engine
How to recover from and MSDB database in “suspect” mode
Dear community, My SQL server MSDB DB is in suspect mode and i have no backup, i have tried to repair it to no avail, i have also run a full SQL repair which completeted successfully but i still have the error. Please advise on how i can repair…
SQL Server Database Engine
Ik kan geen rest endpoint aanroepen uit SQL 2025 naar LocalHost (HTTPS)
Ik kan geen rest endpoint aanroepen uit SQL 2025 naar LocalHost (HTTPS) Microsoft SQL Server Enterprise Developer (64-bit) / Windows 11 Home / We hebben de volgende procedure…
SQL Server Database Engine
DatabaseMail.exe fails after SQL Server 2022 from CU22 to CU23 - Missing Microsoft.SqlServer.DatabaseMail.XEvents.dll
Product: SQL Server 2022 Enterprise Edition Affected Versions: CU23 Component: Database Mail Summary: Database Mail fails to start or send emails after updating to SQL Server 2022 CU23 (also observed on CU22) with error indicating missing assembly…
SQL Server Database Engine
How to fix the identity issue in sql server 2025 AI feature while setting up Vector features
I am currently doing POC to explore SQL Server 2025 AI Feature in which I tried to set up Vector features. I am able to create scoped credential and external model but when I do the select statement it gives an error : here is the select state : SELECT…
SQL Server Database Engine
sqlcmd execute issue in SQL Server 2025
EXEC xp_cmdshell 'sqlcmd -S MYS-0101 -d SampleDatabase -U sa -P Sa123 -i "script.sql"' is not working in SQL 2025 its giving trust certificate error, how to fix this certificate error without changing the code I need the microsoft…
SQL Server Database Engine
When I create in Management Studio a query in a LSO on a table in DB2, the columns with decimal won't be in the autogenerated script
When I auto-create in Management Studio a query in a LSO on a table in DB2, the columns with decimal won't be in the autogenerated script and the values are displayed different to oledb
SQL Server Database Engine
SQL volume license not available
SQL server license was purchased through our reseller. Volume license is still not visible on my admin account
SQL Server Database Engine
Can SQL Server Developer Edition be used with real production data in Dev/Stage/PreProd?
Hi, I have two related questions about SQL Server Developer Edition licensing: Can we legally use Developer Edition in Stage or PreProd environments? Our production data (without masking/virtualization) is restored for developers in the development…
SQL Server Database Engine
I have installed SSMS 2022 but unable to login.
Hello Team, I have installed SSMS 2022 on my local laptop. But I am unable to connect to the connection string. My laptop server name is ASHISH and instance name is MSSQLSERVER. I am entering ASHISH\MSSQLSERVER as Server Name but it is showing error code…
SQL Server Database Engine
SQL Server 2022 Express installation fails on Windows 11 using web installer
Hello, I’m trying to install SQL Server 2022 Express on a Windows 11 laptop, but the installation fails when using the web installer. Environment: Windows 11 (64-bit) Laptop (not a server) SQL Server 2022 Express (Web installer) SQL Server Management…
SQL Server Database Engine
Microsoft ACE.OLEDB.12.0 is not registered while import excel file
Microsoft ACE.OLEDB.12.0 is not registered -
SQL Server Database Engine
Why does Optimized Locking (LAQ) rely on RCSI/tempdb row versions instead of ADR row versions?
I have a question regarding the new Optimized Locking feature (specifically the Lock After Qualification (LAQ) ) in SQL Server 2025. Database already has Accelerated Database Recovery (ADR) enabled, which maintains its own set of row versions as part of…
SQL Server Database Engine
Running group MSA for agent service account won't let me back up to a NAS target
I'm running SQL Server 2022 in a clustered/AG environment, using a gMSA for the database engine and agent services. Even though I've granted full access to the NAS backup share, it cannot see it. We're using the Ola Hallengren maintenance solution. I've…
SQL Server Database Engine
I am having issues installing the SQL Server
I have been trying to install the SQL server for schoolwork. Every time I try the install process I get an error message stating (Wait on the Database Engine recovery handle failed). I have tried uninstalling and reinstalling the server and still no…
SQL Server Database Engine
Databasemail stops working on SQL Server 2025 after CU1 install
We have server with SQL Server 2025 RTM that works fine but when we install CU1 for SQL Server 2025 the databasemail stops sending mail from SQL Server, nor error message no mail reach mailbox. SQL Server version 17.0.4005.7
SQL Server Database Engine
Cant create export of database
I cant create an export of one of our databases. ERROR: The ImportExport operation with Request Id '6001476a-69a8-46df-a766-70dc38edf723' failed due to 'One or more unsupported elements were found in the schema used as part of a data package. Error…
SQL Server Database Engine
Reinitializing the replication caused the deletion of database
I’m running a pull subscription using transactional replication between two databases, where the Publisher and Distributor are the same server. We removed the permissions for the account originally used for the replication job and replaced it with a new…
SQL Server Database Engine
I've installed SQL Server management studio 22, but I do not know how to set up or specify a server name
I'm not able to find the "snap-in" for SQL server on my PC
SQL Server Database Engine
Steps for Rolling AG Upgrade with new VM's (2016 OS & SQL)
I found the steps for a rolling upgrade of a 2 node AG in place, however I wish to also Upgrade o/s.. Are the steps any different if we add a new upgraded VM to the cluster & join it to AG, then Failover DB from Primary to this New server. Next add…