18,697 questions with SQL Server-related tags

Sort by: Updated
0 answers

How can I get/update the DataSource linked to a SSRS Subscripton via API 2.0?

I have a subscription that has its data source connection severed every time I update the source report (the subscription is on a linked report). I want to get the DataSource so that I can verify it exists and then reassociate it to the subscription. If…

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,878 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 questions
asked 2024-07-25T18:38:09.8266667+00:00
Kalata, Wesley 0 Reputation points
3 answers

HSTS for Default page on SSRS

Hi, Our SSRS server is failing a vulnerability (Nessus) scan for HSTS. I have been able to add the SQL CustomHeader for HSTS and I can confirm this is working. SQL CustomHeader XML string…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
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,878 questions
asked 2024-03-15T03:39:19.55+00:00
Craig Garland 296 Reputation points
edited an answer 2024-07-25T18:07:39.79+00:00
David Neese 0 Reputation points
0 answers

Linked service authentication options for SQL Server are different amongst ADF within same subscription

In the same Azure subscription, I have several resource groups and each has data factories, however, the linked service authentication options are not the same among them, why? Here is an example: ADF1: SQL SERVER Linked service authentication…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
asked 2024-07-19T10:42:32.6633333+00:00
Gonçalo J P Carvalho 0 Reputation points
commented 2024-07-25T16:36:24.95+00:00
Smaran Thoomu 12,620 Reputation points Microsoft Vendor
2 answers

The scriptmain.cs can not be found in the SSIS package

I have a SSIS package with a script task. I can edit this script taks, but when I add a breakpoint in the C# code and I run the package I get an error that the ScriptMain.cs can not be found. I use Visual studio 2022 with data tools 2017 and integration…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,525 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,650 questions
asked 2024-07-17T08:24:57.6333333+00:00
Eric Bezemer 196 Reputation points
commented 2024-07-25T15:42:17.6633333+00:00
Yitzhak Khabinsky 25,731 Reputation points
1 answer

Replication latency?

Greetings. SQL 2019, not far behind in patches. Two node transactional replication, with the distributor on the Subscriber. Recently we've had had sudden replication latency which is discovered through some custom alerting, and confirmed through…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2024-07-10T19:11:18.3866667+00:00
chrisrdba 361 Reputation points
commented 2024-07-25T15:39:55.1866667+00:00
chrisrdba 361 Reputation points
1 answer One of the answers was accepted by the question author.

SQL Server 2019 installation failed with 2068052310 Exit code

SQL Server 2019 installation failed with below error. I have tried manually installing the msodbcsql.msi and re-tried the SQL server installation, but that also failed. The SQL2019-SSEI-Expr.exe was downloaded from microsoft.com

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2022-11-10T08:37:44.4+00:00
Kizhakkethiruoth, Jagadeesh 51 Reputation points
commented 2024-07-25T15:39:03.52+00:00
Mathis, Peyton 0 Reputation points
3 answers One of the answers was accepted by the question author.

When i try to connect MSSQLSERVER server it doesn't appear and only the SQLEXPRESS server appears.

I've installed SQL2022-SSEI-Dev then installed the SQL2022-SSEI-Expr then the SSMS-Setup-ENU when i open the SSMS to connect a server i cant find DEV server and only the Express server appears. What's wrong and how to fix?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2024-07-05T01:05:50.22+00:00
ABDELHALEEM MOHAMMED 20 Reputation points
edited the question 2024-07-25T14:31:24.68+00:00
Rakesh Gurram 5,485 Reputation points Microsoft Vendor
2 answers

Error connecting to database, failed to retrieve data for this request

I recently upgraded to SQL Server Management Studio 2019 (v18.7.1). I also have SSMS 2012. When I use SSMS 2012 to connect to a database running on Window Server 2016 / SQL 2017, I usually get an error like below but I can connect and run queries and …

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2023-02-27T22:20:06.1466667+00:00
Venkatesh, Siddharth 0 Reputation points
answered 2024-07-25T14:03:23.6033333+00:00
hamid aghazadeh 0 Reputation points
1 answer

How to create 12-months projection query in SQL

Hi Team, Have requirement as bellow, need to write query to get next 12 months projection data include current month. Could you please help me. Please find-out bellow example input outputs. SQL QUERY: CREATE TABLE [dbo].[Projection]( [YearMonth]…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,601 questions
asked 2024-07-25T02:42:36.0533333+00:00
Bala Narasimha Challa 466 Reputation points
commented 2024-07-25T10:53:40.34+00:00
Viorel 114.7K Reputation points
0 answers

Microsoft Applied Skill 4 - Failure to create Databases 1-4

While attempting the "Migrate SQL Server Workloads to Azure SQL Database" it failed to create Databases: DB1, DB2, DB3, and DB4. While DB5 was a partial. Has anyone else had this happen to them? What steps have you taken to resolve 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.
13,364 questions
SQL Server Training
SQL Server Training
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Training: Instruction to develop new skills.
10 questions
asked 2024-07-14T02:43:10.5333333+00:00
Jacob Shuster 0 Reputation points
commented 2024-07-25T10:46:41.32+00:00
AmaranS 4,095 Reputation points Microsoft Vendor
0 answers

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…

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,878 questions
asked 2024-07-25T10:18:22.3766667+00:00
Kashupi, Tokolo (CGP-ITO) 20 Reputation points
1 answer

Can we use Certificate based Authentication for connecting to On Prem SQL Server?

Hi Experts, We use a PowerShell command to connect to the SQL Server by creating a connection string. In the PowerShell script, we have to encode the username and password for creating the connection string and passing it to the SQL Server. The SQL…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,329 questions
asked 2024-07-25T04:14:39.7933333+00:00
Anant Bera 131 Reputation points
edited a comment 2024-07-25T10:10:20.4033333+00:00
MikeyQiaoMSFT-0444 1,925 Reputation points
2 answers

How To Downgrade The SQL server 2022 Evulation Edition To Standard Edition 2022

Hi We have installed the SQL Server 2022 in Enterprise evaluation Edition in our production environment and then is the free trial period we bought a SQL Server 2022 standard edition how will we downgrade Enterprise to standard if it is posible Kindly…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2024-07-25T09:06:34.9333333+00:00
surya kannan 0 Reputation points
edited the question 2024-07-25T09:35:57.5666667+00:00
Erland Sommarskog 107.2K Reputation points
3 answers

Issue with SQL Server compatibility level 2022 and sp_executesql

One of our customers running SQL standard edition 2022 wanted to explore setting their database's compatibility level to 2022; but when they do this, at least one of our queries fails to return metadata. So they have to keep the compatibility level at…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2024-07-19T20:07:28.8033333+00:00
Eckels, Adam 0 Reputation points
commented 2024-07-25T09:06:59.6933333+00:00
Erland Sommarskog 107.2K Reputation points
3 answers One of the answers was accepted by the question author.

How to access database by External Datasource using Service Principal Name(SPN)

I am seeking a solution for cross-database access via an external data source using Service Principal credentials. Specifically, I want to perform Transact-SQL queries from one database to another using Service Principal credentials. To achieve this, I…

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.
13,364 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,775 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,632 questions
asked 2024-07-21T14:42:53.0533333+00:00
Devendra Parmar 20 Reputation points
commented 2024-07-25T09:01:22.7466667+00:00
Erland Sommarskog 107.2K Reputation points
2 answers One of the answers was accepted by the question author.

Is it possible to split a SSRS report into multiple to split the work load

We have a SSRS Report which has 52 thousand lines the same report on another company has 5 thousand lines. The firstone goes into a timeout and cant be processed and viewed not even with batch processing and email sent. I am currently searching for a way…

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,878 questions
asked 2024-07-25T06:10:43.49+00:00
Emir Felek 20 Reputation points
answered 2024-07-25T08:56:29.15+00:00
ZoeHui-MSFT 35,556 Reputation points
2 answers

Use SQL Server 2022 License Key to Install SQL Server 2019

Hi, I have installed SQL Server 2019 on our cloud EC2 Windows server machine using the SQL Server Evaluation Edition with a 180-day free trial. We intend to purchase the SQL Server 2022 Standard Edition key. Can we use this key to activate the SQL Server…

SQL Server on Azure Virtual Machines
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
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.
517 questions
asked 2024-07-11T09:43:23.8833333+00:00
surya kannan 0 Reputation points
commented 2024-07-25T07:23:14.48+00:00
surya kannan 0 Reputation points
2 answers

Microsoft SQL Server 2019 lost license

Hello, how can I recover a lost sql 2019 license? Thank you, Robert

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 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.
67 questions
asked 2024-07-22T10:09:05.3+00:00
Robert Anton 0 Reputation points
edited a comment 2024-07-25T05:37:54.4266667+00:00
CathyJi-MSFT 21,136 Reputation points Microsoft Vendor
2 answers

Facing issues to connect with synapse workspace/azure sql db via oauth

I want to connect to and access my Synapse Workspace and SQL Pool using OAuth. For this purpose, I have created an app in Azure and assigned the following API permissions: Microsoft Graph: Directory.Read.All (Delegated) Directory.ReadWrite.All…

Azure SQL Database
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,696 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.
13,364 questions
asked 2024-07-15T05:04:01.89+00:00
SUBHAM KUMAR 0 Reputation points
commented 2024-07-25T04:53:27.1466667+00:00
SUBHAM KUMAR 0 Reputation points
2 answers

I want to show the diagram of tables in my database

I have window authentication in SSMS, i installed the SSMS as administrator but still i cant open diagram to my tables the server name is localhost, what can i do

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,364 questions
asked 2024-07-16T16:49:36.6366667+00:00
יהונתן דאיטי 0 Reputation points
commented 2024-07-25T02:20:03.83+00:00
LucyChenMSFT-4874 3,470 Reputation points