18,700 questions with SQL Server-related tags

Sort by: Updated
1 answer

Cannot uninstall SQL Server Integration Services Projects after VS version 16.0.0 (offline) update

Hi MS, We got a Visual Studio version 16.0.0 (Offline) and SQL Server Integration Services Projects installed. I updated VS to version 16.11.0 from an offline layout. I moved on to trying to update the SQL Server Integration Services Projects version…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,889 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
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
194 questions
asked 2024-07-24T06:47:23.6766667+00:00
Mary T 0 Reputation points
commented 2024-07-26T13:04:12.7533333+00:00
Anna Xiu-MSFT 27,891 Reputation points Microsoft Vendor
4 answers

After migrating to Windows 11 - Cannot bulk load because the file could not be opened. Operating system error code 5 (Aaccess is denied)

I just moved to a Windows 11 PC and now when using SSMS and I try to do a Bulk Insert into a SQL 2017 database, I get this error. Cannot bulk load because the file could not be opened. Operating system error code 5 (Aaccess is denied) I can do the same…

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,367 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,000 questions
asked 2024-07-08T18:52:02.8866667+00:00
DoveConnieDES-3786 1 Reputation point
commented 2024-07-26T12:53:50.61+00:00
DoveConnieDES-3786 1 Reputation point
0 answers

How to Retrieve SQL Server Instance Details from SQL IaaS Agent Extension Using Azure CLI

Hello Azure Community, I am working with SQL Virtual Machines in Azure and using the SQL Server IaaS Agent Extension to manage my SQL Server instances. In the Azure portal, under the "SQL Virtual Machine" service, I can view detailed 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,367 questions
asked 2024-07-26T12:15:01.9433333+00:00
FERNANDO ARTERO SERRANO 0 Reputation points
2 answers

Bacpac file won't restore due to columnstore indexes on columns with specific data types.

Situation: We are using Serverless Azure SQL Databases as projects. Afterwards we delete these databases but before we do that we create backups of the databases. We are using SqlPackage.exe (version: 162.3.566) to create bacpac files. Restoring bacpac…

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,367 questions
asked 2024-07-19T09:58:51.94+00:00
Mark van Eck 56 Reputation points
commented 2024-07-26T10:13:55.9266667+00:00
Mark van Eck 56 Reputation points
3 answers One of the answers was accepted by the question author.

SQL Server 2022 - Launchpad - how to eliminate errors in the logs "Failed to delete directory..."

Hi, I'm unable to find a solution to this anywhere and I'm desperate. Perhaps someone faced a similar issue and managed to find a solution. I'm running out of hairs on my head to pull them out. I got installed SQL Server 2022 with latest CU on Windows…

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,367 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,640 questions
asked 2024-07-25T08:45:40.51+00:00
RandomGuy123 35 Reputation points
edited a comment 2024-07-26T09:17:25.5266667+00:00
RandomGuy123 35 Reputation points
0 answers

Installing IBMi Access Driver on Azure Data Factory Integration Runtime

Hello, I've been trying to install the Windows version of the IBM i Access Driver on a Data Factory Integration Runtime through adding a script (main.cmd) and the desired installer in a Blob Container This script seems to work perfectly locally but when…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,198 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
asked 2024-07-24T07:19:18.0966667+00:00
Alexandru Moise 0 Reputation points
commented 2024-07-26T09:11:56.3333333+00:00
Smaran Thoomu 12,620 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

What logs does a full database backup contain?

When restoring a full database backup, restore can use the no_log parameter to not restore logs (although this parameter is officially disabled), and then rebuild the ldf by replacing the mdf with a new library. This can avoid the excessive time required…

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,367 questions
asked 2024-07-26T06:27:16.1+00:00
博雄 胡 230 Reputation points
accepted 2024-07-26T08:58:33.8533333+00:00
博雄 胡 230 Reputation points
1 answer

Query stuck with HTDELETE for hours eventually timing out

We have an Azure SQL Database to manage our Customer data. I have a reasonably complicated query that has been getting stuck with an HTDELETE wait. Most recently it timed out after 4 hours. This was in our QA environment. The same query finishes in less…

Azure SQL Database
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.
69 questions
asked 2024-07-26T00:53:55.72+00:00
Nick Ryan 221 Reputation points
answered 2024-07-26T08:38:41.8633333+00:00
Erland Sommarskog 107.2K Reputation points
2 answers One of the answers was accepted by the question author.

Customer Best Practices Assessment: exclude checks/false positives

Is there any way to customize the BPA in Azure ARC for SQL to exclude certain checks or to flag issues as false positives? I've got certain issues being flagged by the BPA however these can't be resolved as the application accessing the database requires…

Azure SQL Database
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
382 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,367 questions
asked 2024-07-19T09:42:13.16+00:00
Berend Broekhoff 20 Reputation points Microsoft Employee
commented 2024-07-26T08:34:18.6+00:00
Berend Broekhoff 20 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Temp file not shrinking

I have a temp DB file that is not shrinking. Temp DB has 6 mdf files but one is large and not shrinking after multiple attempts. Any idea on how to resolve this? Thanks

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,367 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-22T17:55:17.6866667+00:00
Babawale Dawodu 110 Reputation points
accepted 2024-07-26T08:22:56.3566667+00:00
Babawale Dawodu 110 Reputation points
4 answers

SQL Statement taking long to execute

I have two SQL Databases that is on the same SQL server but on one database it only takes 4 seconds to complete the SQL statement but on the other SQL database it takes 25 minutes to complete. Both databases uses the same SQL elastic pool and I don't see…

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,367 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.
69 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-15T03:15:50.06+00:00
WingHong Shiu 5 Reputation points
commented 2024-07-26T08:19:06.6866667+00:00
Erland Sommarskog 107.2K Reputation points
3 answers

Materialized View and Left Join

From what I gather: left, right, and outer joins are not allowed in materialized views, nor are unions or group-bys. What I want is to get 3 columns from 1 table, and an additional Min Value from a separate 1:many table. For example: Item (table): Id,…

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,367 questions
asked 2024-07-25T18:04:00.1033333+00:00
David Wright 0 Reputation points
commented 2024-07-26T07:55:42.1533333+00:00
Erland Sommarskog 107.2K Reputation points
1 answer One of the answers was accepted by the question author.

I am making a connection to mssql using typeorm and getting error

Hi, I am trying to create connection to my mssql server using typeorm in node 20 application. I am getting socket hang-up error, the connection gets created if I set encrypt to false. I tried all tls configuration and everything but I am not able 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.
13,367 questions
asked 2024-07-11T13:58:53.66+00:00
Kasthuri C M 20 Reputation points
commented 2024-07-26T06:29:16.17+00:00
LucyChenMSFT-4874 3,470 Reputation points
2 answers One of the answers was accepted by the question author.

Failed to Create Maintenance Plan in SQL Server 2019 show Exception from HRESULT: 0xC0014001 (Microsoft.SqlServer.DTSRuntimeWrap)

Hi, I have been trying to create maintenance plan using maintenance plan wizard in SSMS. As i go through the plan, the prompt show error 'Saving maintenance plan failed' with Exception from HRESULT: 0xC0014001 (Microsoft.SqlServer.DTSRuntimeWrap). The…

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,367 questions
asked 2024-07-22T06:12:07.33+00:00
Muhammad Danial Nu'man Noorman 20 Reputation points Microsoft Vendor
accepted 2024-07-26T06:27:47.4266667+00:00
Muhammad Danial Nu'man Noorman 20 Reputation points Microsoft Vendor
2 answers

How to create Excel Connection to a SQL database

This connection must be validated by a SQL login to ensure the contents of your databases remain secure. The connection can be refreshed to update the content from the 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,367 questions
asked 2024-07-18T20:11:35.03+00:00
Jhon jr 0 Reputation points
commented 2024-07-26T05:35:11.9533333+00:00
LucyChenMSFT-4874 3,470 Reputation points
2 answers

Application unable to connect to Listener intermittently on port 1433

We have a named instance that's running on a dynamic port, with a Listener specified on port 1433. All application strings only specify the listener IP and port. A scheduled job connects to the listener once a day, but it sometimes fails with the error…

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,367 questions
asked 2024-07-21T04:05:37.09+00:00
Amisha Bhadauria 0 Reputation points
commented 2024-07-26T05:34:04.25+00:00
LucyChenMSFT-4874 3,470 Reputation points
2 answers

How can I find my SQL server License to upgrade Report Server Configuration Manager

Our version of Report Server Config Manager is on Evaluation. We license an Azure sql server from Office365 but I cannot find the license key. I need to upgrade the RSCM but it's requiring a key.

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,367 questions
asked 2024-07-22T16:24:00.86+00:00
Mt Rose Administrator 0 Reputation points
commented 2024-07-26T05:32:40.5133333+00:00
LucyChenMSFT-4874 3,470 Reputation points
2 answers

OS and SQL server upgrade

What could be the best upgrade plan for MS SQL server 2012 and Windows server 2012?

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,367 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,640 questions
asked 2024-07-23T12:00:18.7866667+00:00
AJCV 0 Reputation points
commented 2024-07-26T05:31:54.3+00:00
LucyChenMSFT-4874 3,470 Reputation points
2 answers

SQL audit (Server audit specification > SERVER_STATE_CHANGE_GROUP) log sa user instead DOMAIN\USERNAME

Hi all, I am testing audit for SQL Server currently running on a IAAS VM (Win server 2022, SQL Server 2022 CU14). I have created an audit which log file in a file. I have created a Server audit specification which include the action…

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,367 questions
asked 2024-07-25T17:04:58.85+00:00
Alessandro Colombi 0 Reputation points
answered 2024-07-26T03:45:59.8566667+00:00
MikeyQiaoMSFT-0444 1,925 Reputation points
2 answers

SQL server bulk insert for multiple csv files from a single folder. I want store each file as each table at a time I want insert 10 csv and txt files on SQL server. Please provide me any SQL script.

SQL server bulk insert for multiple csv files from a single folder. I want store each file as each table at a time I want insert 10 csv and txt files on SQL server. Please provide me any SQL script.

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,367 questions
asked 2024-07-25T10:02:43.56+00:00
nn 20 Reputation points
answered 2024-07-26T01:48:23.69+00:00
LiHongMSFT-4306 25,651 Reputation points