17,975 questions with SQL Server-related tags

Sort by: Updated
0 answers

Scripting out 'Create Merge Replication' does not include 'processing_order'

We use Merge Replication and have defined a specific 'processing_order' for the Articles in the Publication. When we want to setup or refresh a test environment, we will script out the 'Create Replication' script from our production environment, such…

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,750 questions
asked 2024-05-03T03:20:20.6466667+00:00
Greg Youdale 5 Reputation points
2 answers

SQL Licensing for SQL Always ON Availability group

Hello Guys, I need to understand how many licenses i need to buy for SQL always on availability group, below is my requirement. As per my understanding only active cores should be licensed SQL always on cluster    Primary site:   Server 1 : Active copy  …

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,750 questions
asked 2024-05-02T06:33:28.6+00:00
mohammed arifuddin 25 Reputation points
answered 2024-05-03T01:56:27.6566667+00:00
LucyChen-MSFT 1,045 Reputation points Microsoft Vendor
0 answers

How to fix NT AUTHORITY\ANONYMOUS LOGON login failure during MS SQL Server installation

Hi - I'm trying to install MS SQL Server on Microsoft Windows Server 2022 Standard 10.0.20348 Build 20348. I've tried installing both MS SQL Server 2019 and 2022. The installation fails with: Detailed results: Feature: 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,750 questions
asked 2024-05-02T14:35:00.5566667+00:00
Lemons, Terry 1 Reputation point
commented 2024-05-03T01:43:10.39+00:00
CosmogHong-MSFT 23,321 Reputation points Microsoft Vendor
2 answers

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,750 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,554 questions
asked 2024-05-02T07:44:45.3166667+00:00
Jan Vávra 231 Reputation points
commented 2024-05-03T01:37:32.1933333+00:00
CosmogHong-MSFT 23,321 Reputation points Microsoft Vendor
1 answer

sql query where with condition

Hi, I have a query same but only one of the where clauses differ. If (@accountID = 100) Begin select field1, field2 FROM table1 left outer join table 2 where status = 'x' and ISNULL(accountid, @accountID) = @accountID END Else select field1,…

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,750 questions
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
43 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,554 questions
asked 2024-05-02T22:32:38.0266667+00:00
Spunny 326 Reputation points
edited the question 2024-05-03T01:35:39.6133333+00:00
CosmogHong-MSFT 23,321 Reputation points Microsoft Vendor
0 answers

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,455 questions
asked 2024-05-02T21:57:47.1666667+00:00
Jorge Hernán Ramírez Jaramillo 0 Reputation points
edited the question 2024-05-03T01:33:53.46+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
4 answers

how troubleshoot SqlDumpExceptionHandler: Process 113 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process

We use Cumulative Update 21 for SQL Server 2019, Always on with 1 Primary plus 2 secondary replicas. Recently we noticed our SQL Server had some dumps, like below. Can anyone pls help advise how troubleshoot it? Thanks SqlDumpExceptionHandler: Process…

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,750 questions
asked 2024-05-02T02:52:39.4733333+00:00
Ted Yin 0 Reputation points
answered 2024-05-03T01:32:52.9133333+00:00
Javier Villegas 895 Reputation points MVP
3 answers

How to set title of pdf in report builder

We have an issue with PDF files generated by SSRS for reports created in Report Builder. The files have weird looking names/titles when opened with the built-in PDF viewer in Chrome etc. Some searching returned a thread saying that Chrome displays the…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,806 questions
asked 2022-03-10T13:44:14.387+00:00
Anonymous
answered 2024-05-02T22:28:17.48+00:00
MargieLC 1 Reputation point
2 answers

Named Pipes Provider: Could not open a connection to SQL Server

Hi, Named Pipes Provider: Could not open a connection to SQL Server error (53) from public facing Server to Local SQL Server but Local to DMC Server possible Please any one can you advice to me Kind Regards R.Raja

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,750 questions
asked 2024-05-02T05:30:16.5+00:00
Raja Raju 0 Reputation points
answered 2024-05-02T21:25:45.0033333+00:00
Erland Sommarskog 101.2K Reputation points MVP
0 answers

tại sao khi kết nối với máy chủ SQL 2022 Azure lại không có Restore Database

Khi tôi cài đặt Azure Data Studio kết nối với SQL bản 2022 và muốn restore advanturework 2022 để thực hành thì không có mục Restore dữ liệu khi nhấn chuột phải vào Database mà chỉ có mục Filter và Refesh. Làm thế nào để sửa lỗi này?

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,750 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
98 questions
asked 2024-05-02T10:05:53.28+00:00
Ngọc Yến Đặng 0 Reputation points
commented 2024-05-02T21:07:25.5733333+00:00
Erland Sommarskog 101.2K Reputation points MVP
2 answers

Tablediff using -strict option complains about different schema. But when scripting the schema's and doing a file compare it's equal.

Dear, When using tablediff -strict mode, I encounter a strange to me situation. When generating the export like this for the duplicate table: $TableExportoptions = New-DbaScriptingOption $TableExportoptions.ClusteredIndexes =…

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,750 questions
asked 2024-04-30T00:17:51.54+00:00
Tim Braes 0 Reputation points
commented 2024-05-02T20:21:42.3933333+00:00
Erland Sommarskog 101.2K Reputation points MVP
8 answers

SSIS Data Flow Task error - The version of the Flat File destination is not compatible with this version of the dataflow.

I am trying to edit an SSIS package and getting the error "The version of the Flat File destination is not compatible with this version of the dataflow." when trying to run it from a SQL Agent Job or when performing a validation on the SSIS…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,455 questions
asked 2020-10-15T14:09:43.287+00:00
WMB853 6 Reputation points
commented 2024-05-02T18:12:14.9+00:00
Mike Murphy 0 Reputation points
1 answer One of the answers was accepted by the question author.

Could you please suggest the list of software needed to register and use a custom component in data tools tool box using VS2019 in x64

Issue Description: Facing issue in setting up and running SSIS in debug mode in VS2015 that can recognize 64-Bit C# custom components in Data Tools Tool box. Created MyCustomComponent.dll by referencing below dlls. Took the dlls from…

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
495 questions
asked 2024-04-08T12:34:26.1366667+00:00
SAILANATHAN Balaji 20 Reputation points
commented 2024-05-02T14:00:48.1533333+00:00
Michael Taylor 48,486 Reputation points
1 answer

Connect to Linked Server Database using Azure Data Factory

Hi! I have a database that is a linked server of another. I can connect and copy data of the main database in ADF. But is it possible to also copy data from the linked server database? If yes, how would I do this?

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,750 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,593 questions
asked 2024-05-02T09:28:02.6766667+00:00
Keren Osler 40 Reputation points
edited an answer 2024-05-02T13:36:37.97+00:00
Zahid Butt 556 Reputation points
1 answer

Using MDS deployupdate error on sync relationship

I am trying to use the MDSModelDeploy deployupdate command. But I am getting this error. Error: The model cannot be updated. 200213: The entity change cannot be saved. It is the target of a sync relationship. You use the sync process to change the target…

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,750 questions
asked 2024-03-07T21:37:55.2333333+00:00
answered 2024-05-02T12:54:10.1533333+00:00
Dolinau, Andrei 0 Reputation points
1 answer One of the answers was accepted by the question author.

ADF pipeline with upsert throwing error "The data type text cannot be used as an operand to the UNION, INTERSECT or EXCEPT operators because it is not comparable"

ADF pipeline writing data from AZURE sql to on prem SQL Server with upsert operation. TEXT fields are part of target system, Even though TEXT fields are not selected in select query and are not mandatory fields still throwing error. I cannot change…

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,750 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,593 questions
asked 2024-04-27T01:42:51.18+00:00
Shantanu Dekapurwar 20 Reputation points
commented 2024-05-02T11:59:42.78+00:00
Shantanu Dekapurwar 20 Reputation points
2 answers

Getting the Integration run time error while created the linked service for Sql server in datafactory

Getting the Integration run time error while created the linked service for Sql server in data factory, can anyone help to solve this error Cannot connect to SQL Database. Please contact SQL server team for further support. Server:…

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,750 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,593 questions
asked 2024-05-01T12:28:59.37+00:00
Anand Raj 0 Reputation points
commented 2024-05-02T10:10:13.47+00:00
phemanth 5,840 Reputation points Microsoft Vendor
1 answer

Enterprise Report Server not showing Data Driven Subscriptions

We have updgraded from Standard to Enterprise reporting services. We were expecting to have the option to create data-driven subscriptions but the option is not available. All the articles found during our web search say 'Data-driven subscriptions' will…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,806 questions
asked 2024-04-29T21:26:46.1566667+00:00
Linda 1 Reputation point
commented 2024-05-02T09:26:48.1333333+00:00
LucyChen-MSFT 1,045 Reputation points Microsoft Vendor
1 answer

SSRS - Unable access the Report Server Web portal URL's

We have SQL Server Reporting Services. Nothing has been changed but users are not able to access to Reports Web URL. We are unable to access the URL on the same machine where the Report Server Configuration Manager is running. Checked the SQL connection…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,806 questions
asked 2024-05-01T07:49:37.3766667+00:00
Yashwanth Bellum 0 Reputation points
commented 2024-05-02T09:10:26.27+00:00
LucyChen-MSFT 1,045 Reputation points Microsoft Vendor
2 answers

Will the MS SQL Server 2022 STD License and Windows Server 2019 OS License works on same Hardware after System motherboard get replaced

Hello, I had a HP Proliant ML30 Server running Windows Server 2019 STD and MS SQL Server 2022 STD running with license. Recently the motherboard got issue and HP said to get it replaced. So i have a question about its license if it will work normally…

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,750 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,166 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
316 questions
Windows Licensing
Windows Licensing
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.Licensing: Rules, regulations, and restrictions that define how software can be used and distributed.
35 questions
asked 2024-04-30T11:08:19.5033333+00:00
Hitalkumar Chheda 0 Reputation points
answered 2024-05-02T07:49:41.02+00:00
LucyChen-MSFT 1,045 Reputation points Microsoft Vendor