18,005 questions with SQL Server-related tags

Sort by: Updated
1 answer

Do ODBC Linked Servers (MariaDB) support XA Transactions?

My setup involves 3 servers, 2 MariaDB servers -- one under my control, the other not -- and an MSSQL server. I have the two MariaDB servers linked via the Spider Engine and I have my internal MariaDB server set up as a linked server in Sql Server with…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2024-05-03T20:31:26.51+00:00
Evan Howlett 0 Reputation points
answered 2024-05-06T05:42:03.84+00:00
LucyChen-MSFT 1,120 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

SQL SSIS on Separate Server

Hi, I'd like to confirm if we need a another SQL license for the server where SSIS will be installed aside from the primary SQL Server? Thank you, Jovsp

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,460 questions
asked 2024-05-06T02:30:31.79+00:00
ovsp 166 Reputation points
accepted 2024-05-06T05:39:01.97+00:00
ovsp 166 Reputation points
2 answers

SQL connection to server error

After i installed Microsoft SQL server i face this problem while trying to connect ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2024-05-03T11:36:23.5666667+00:00
Mohamed El Sayed Mohamed 20 Reputation points
answered 2024-05-06T02:45:23.66+00:00
CosmogHong-MSFT 23,321 Reputation points Microsoft Vendor
2 answers

Data output error using specific scenario in SQL Join

Going though something very strange while running the SQL Query. External Table: dl.tableA has a varchar value "EmployeeSequenceNumber" in column EmployeeSequenceNumber , while doing the inner join with dim.tableB, the query is getting…

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,555 questions
asked 2024-05-05T14:26:32.57+00:00
NIKHIL KUMAR 101 Reputation points
commented 2024-05-06T02:30:15.07+00:00
CosmogHong-MSFT 23,321 Reputation points Microsoft Vendor
2 answers

SSIS task through SQL Agent showing OLEDB 16.0 not registered after install

Hi all, we're currently having issues trying to have a job run on a schedule via SQL Agent using the OLEDB 16.0 64-bit connector using an excel file. The job runs fine locally in Visual Studio, where I have the 64-bit OLEDB 16.0 installed. However when…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,460 questions
asked 2024-04-30T09:09:43.8766667+00:00
Thomas Davies 20 Reputation points
answered 2024-05-06T02:19:10.93+00:00
ZoeHui-MSFT 33,211 Reputation points
2 answers One of the answers was accepted by the question author.

How to handle text file with delimiter as ~|~ in SSIS Package

I received text file from external vendor with appears to be Pipe Delimited but it has very unusual character before and after Pipe (|). I am using SSIS Package (VS 2019) to import the data into SQL Server database 2019. I am using SQL Agent Job to…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,460 questions
asked 2024-05-04T00:46:30.9766667+00:00
Villa 186 Reputation points
accepted 2024-05-06T01:03:42.22+00:00
Villa 186 Reputation points
4 answers

how to solve the error "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - La chaîne de certificats a été"

Hi I try to connect my asp.net core api to a sql server database I encounter an error like: "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2023-05-23T09:49:55.54+00:00
Marnelle M'BENGUET 20 Reputation points
answered 2024-05-05T19:54:35.22+00:00
Martinho Sebastião 0 Reputation points
2 answers

Are there enhancements in SQL SERVER 2019 transactional replication working as compared to SQL SERVER 2008 R2 transactional replication. Also, of all HA/DR solutions available in SQL SERVER 2019 which allows minimum data loss in case of disaster.

Are there enhancements in SQL SERVER 2019 transactional replication working as compared to SQL SERVER 2008 R2 transactional replication. Also, of all HA/DR solutions available in SQL SERVER 2019; which allows for minimum data loss in case of disaster.…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2024-04-28T17:44:17.5466667+00:00
DM 501 Reputation points
commented 2024-05-05T18:59:23.1066667+00:00
DM 501 Reputation points
1 answer

How to Fix:Error: Microsoft ODBC Driver 18 for SQL Server : SSL Provider: [error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:self signed certificate].

I followed the documentation: https://learn.microsoft.com/en-us/sql/linux/quickstart-sql-server-containers-azure?view=sql-server-ver16&tabs=kubectl to deploy SQL server on AKS. But While connecting to it, getting the below error: Sqlcmd: Error:…

Azure SQL Database
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
956 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,871 questions
asked 2023-06-27T20:19:16.9633333+00:00
Satyam 20 Reputation points
commented 2024-05-05T12:03:10.72+00:00
Jaap Titulaer 0 Reputation points
9 answers

SQL Server install error Wait on the Database Engine Recovery Handle Failed

SQL Server 2019 install error Wait on the Database Engine Recovery Handle Failed this error is coming and i have tried everything on the internet to solve this but it still isnt installing can anyone tell me how to remove this error

Azure SQL Database
Azure SQL Edge
Azure SQL Edge
An Azure service that provides a small-footprint, edge-optimized data engine with built-in artificial intelligence. Previously known as Azure SQL Database Edge.
45 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2021-07-28T10:27:04.27+00:00
Priyanshu Singh 31 Reputation points
edited an answer 2024-05-05T10:31:12.0666667+00:00
Fasil Hayat 0 Reputation points
2 answers

MSSQL\Log\Polybase\dump folder keeps growing

A while ago I noticed that my C drive was almost full. So I moved a bunch of files (90 GB) to another drive. 3 weeks later my C drive was full again, while there were almost no files left taking up space on my SSD. After selecting all folders on my C…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2021-06-14T07:03:33.38+00:00
pieterjandeclippel@msn.com 1 Reputation point
commented 2024-05-04T20:00:38.7466667+00:00
Erland Sommarskog 101.4K Reputation points MVP
5 answers

Windows 11 SQL Server install error Wait on the Database Engine Recovery Handle Failed

In Windows 11 Machine, unable to install SQL server 2019. I tried multiple versions. but got the following error message. I tried multiple times and restart the machine. nothing worked out. Please somebody help with this. Edition Windows 11…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,555 questions
asked 2022-12-27T14:14:32.197+00:00
S Dineshkumar 1 Reputation point
answered 2024-05-04T17:42:37.73+00:00
Alok Jha 0 Reputation points
4 answers

How to resolve install failures for SQL Server 2022 Developer edition

I have been trying to install SQL Server 2022 Developer edition without success. After more than 10 attempts I am at a complete loss as to what to do next. I have attached the log of my last attempt and hopefully someone can shed some light on my issues…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2024-02-18T10:26:52.4233333+00:00
Robert Higgins 5 Reputation points
answered 2024-05-04T05:53:33.0833333+00:00
Alok Jha 0 Reputation points
3 answers

How do I fix MSSQL Server 2022 Database Engine Services failing to install?

I have been struggling with this for far too long now. I've reinstalled it twice now with 9 repair tries. Still no luck. I need some help because my classes require it to be installed. Overall summary: Final result: Failed: see details…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2023-03-28T13:45:32.1966667+00:00
JC Sanders 5 Reputation points
answered 2024-05-04T05:46:58.98+00:00
Alok Jha 0 Reputation points
0 answers

Error creating SQL user accounts from external provider with Azure Arc

When trying to create user accounts that use Azure login in Azure Arc, we receive the error shown in the user's image. How can we resolve this issue?

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
328 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2024-05-03T12:16:54.9066667+00:00
AJ Copeland 0 Reputation points
commented 2024-05-03T21:36:15.92+00:00
Erland Sommarskog 101.4K Reputation points MVP
0 answers

How do I transfer an on-premises license from one corporate user to another?

I need to transfer an on-premise license, but I'm having trouble finding materials explaining the step-by-step process, as well as which instrument should be used for the transfer. Can You help me?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,777 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2024-05-03T12:29:56.53+00:00
Takeo Contao Abe TERNIUM BR 0 Reputation points
commented 2024-05-03T21:35:32.0933333+00:00
Erland Sommarskog 101.4K Reputation points MVP
2 answers One of the answers was accepted by the question author.

Unable to add a index hint to a simple query

I have a table with milions of records CREATE TABLE documents ( id bigint primary key, external_system nvarchar(50), external_docid nvarchar(50)) and non clustered filtered unique index CREATE UNIQUE INDEX documents_ix19 ON…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,555 questions
asked 2024-05-02T07:44:45.3166667+00:00
Jan Vávra 251 Reputation points
commented 2024-05-03T20:56:33.33+00:00
Erland Sommarskog 101.4K Reputation points MVP
5 answers

How to fix, Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.

We have setup the domain controller. Two machines (Windows Server 2019 Standard, 10.0.17763) are added to the same domain(Mac1 and Mac2). From Mac1, we are trying to connect remotely to SQL Server 2019 installed on Mac2. We are using Mix mode…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2023-05-12T07:33:52.4566667+00:00
Manjusha Shinde 0 Reputation points
answered 2024-05-03T20:17:00.09+00:00
Bruce (SqlWork.com) 56,846 Reputation points
9 answers

How to verify if a backup "*.bak" is encrypted?

Is there a way to verify if the sql server backup file is encrypted or not? I have a script to turn off encryption before backup; however, I like to verify the backup file *.bak is in fact NOT encrypted before I send out to vendor.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
asked 2021-08-18T13:54:49.39+00:00
CharlieLor 551 Reputation points
commented 2024-05-03T15:29:26.2566667+00:00
Jaime Smith 0 Reputation points
1 answer One of the answers was accepted by the question author.

Problem with FINDSTRING in SSIS Expression

Best regards. I have a problem when I am trying to use the FINDSTRING function in SSIS of Visual Studio 2022. It gives me the following error, even when I try to use the reference examples from the Microsoft page…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,460 questions
asked 2024-05-02T21:57:47.1666667+00:00
Jorge Hernán Ramírez Jaramillo 20 Reputation points
commented 2024-05-03T15:00:17.74+00:00
Jorge Hernán Ramírez Jaramillo 20 Reputation points