18,500 questions with SQL Server-related tags

Sort by: Updated
2 answers

SQL Bulk Copy failed

SQL Bulk Copy failed due to receive an invalid column length from the bcp client. I am getting this error while copying data from adls to sqlserver. I am copying a csv file. I checked the length of each and every column. Destination has more length 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.
13,203 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,015 questions
asked 2022-09-26T05:37:18.833+00:00
KEERTHANA JAYADEVAN 66 Reputation points
answered 2024-07-05T17:22:54.8266667+00:00
Yitzhak Khabinsky 25,721 Reputation points
1 answer

SQL Server Backup in Azure VMs

The Azure backup for SQL VM doesn't allow the selection of multiple databases to be restored through the Azure portal. E.g. if I need to restore 10 databases which have already been backup up by Azure backup, I need to go through the restore process 10…

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,174 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,476 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,203 questions
asked 2024-07-05T16:58:17.4633333+00:00
Onetrowon Emmanuel 0 Reputation points
answered 2024-07-05T17:21:44.39+00:00
Vahid Ghafarpour 20,480 Reputation points
3 answers One of the answers was accepted by the question author.

SQL Server connection timeout after idle

I just set up on Azure a SQL Server (free tier) connecting to an .NET Core web app also on Azure. After 20 minutes the database goes idle. The first attempted connection to the database fails with the call stack below. The subsequent call works…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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,203 questions
asked 2024-07-04T17:35:16.3733333+00:00
Patricia Davidson 0 Reputation points
commented 2024-07-05T16:37:31.1233333+00:00
Patricia Davidson 0 Reputation points
3 answers One of the answers was accepted by the question author.

Installing MSSQL on Surface Laptop 7 with Snapdragon

I know there's been questions in the past when the ARM based MacBooks launched but now that Microsoft is shipping more ARM devices with the new Surface Pro and Surface Laptop is there any updated way to install and run MSSQL? Is Docker still the best…

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,998 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,203 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,791 questions
asked 2024-07-03T15:08:36.85+00:00
CandidKilsborne 20 Reputation points
commented 2024-07-05T16:11:26.88+00:00
Bruce (SqlWork.com) 60,361 Reputation points
1 answer

Cannot create and start Extended Events session in Azure SQL Managed Instance

Hello, I am trying to create an Extended Events session in Azure SQL Managed Instance. First I am trying to use SSMS GUI: Extended Events -> Sessions -> New Session... Add "error_reported" event, configure fields, select Data Storage as…

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,203 questions
asked 2024-06-24T15:08:42.51+00:00
Aleksey Vitsko 20 Reputation points
commented 2024-07-05T15:27:27.5966667+00:00
Aleksey Vitsko 20 Reputation points
1 answer

I am trying to access SQL Server hosted in Azure VM from Azure function app

I am trying to access SQL Server hosted in Azure VM from Azure function app, but getting connection timeout error while connecting through it.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,476 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,203 questions
asked 2024-07-04T13:03:53.9366667+00:00
Ritika Pandey 25 Reputation points
commented 2024-07-05T14:50:19.19+00:00
Nikhil Duserla 645 Reputation points Microsoft Vendor
0 answers

SSPI Error when connecting from Intune Managed AVD to SQL Host using SSMS

Hi All, I have a problem when trying to connect to a SQL Server using SSMS via an Entra joined and Intune Managed AVD. The SQL host is in an AD DS where accounts are synced to Entra AD. The error I get is : The target principal name is incorrect. …

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,476 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,203 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,359 questions
asked 2024-07-05T12:59:15.8366667+00:00
Jason P 116 Reputation points
edited the question 2024-07-05T14:11:00.31+00:00
Jason P 116 Reputation points
1 answer

No "Run Now" button in SSRS Subscriptions

Hi, I have SSRS v13.0.5026.0 but do not have a "Run Now" button that I can use when I select a subscription in the list of subscriptions or in the individual report subscription page. There is only New Subscription, Enable, Disable 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,203 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,855 questions
asked 2024-07-05T09:58:48.4366667+00:00
Tony Wright 0 Reputation points
answered 2024-07-05T10:29:39.8066667+00:00
Olaf Helper 42,761 Reputation points
3 answers

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,203 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.
7 questions
asked 2024-07-05T01:05:50.22+00:00
ABDELHALEEM MOHAMMED 0 Reputation points
answered 2024-07-05T09:15:48.32+00:00
Erland Sommarskog 105.8K Reputation points MVP
0 answers

OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')

Hi, I am encountering an issue while trying to connect to an SQL database using a Python script in my Jupyter notebook. The connection attempt results in the following error message: OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL…

SQL Server on Azure Virtual Machines
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,203 questions
asked 2024-07-05T06:27:34.9366667+00:00
Tú Nguyễn 65 Reputation points
commented 2024-07-05T09:13:08.1166667+00:00
Erland Sommarskog 105.8K Reputation points MVP
2 answers

Unable to install SQL Server Exit Code (Decimal): -2068052294. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor

I just bought this laptop to support my study for data analysis (Dell XPS 13 which run on Window 11). When I tried to both install SQL Express 2019 or 2022, I cannot install the application and the same error occurred as mentioned above. I have tried…

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,203 questions
asked 2024-07-04T17:00:33.37+00:00
Minh Phuc Le 0 Reputation points
commented 2024-07-05T08:58:57.84+00:00
Erland Sommarskog 105.8K Reputation points MVP
1 answer One of the answers was accepted by the question author.

side effects of giving permissions to run traces

Hi All, I would like to know the downsides of giving permissions to run traces in lower environments (DEV/QA/UAT). Our DB team has only two members: one supports PST hours, and the other supports IST hours. The PST resource is on leave for a month, so I…

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,203 questions
asked 2024-07-04T08:23:42.3466667+00:00
Sam 1,476 Reputation points
accepted 2024-07-05T06:12:59.86+00:00
Sam 1,476 Reputation points
2 answers

Automatic startup of SQL server when configured with SCCM.

I have configured SCCM with a remote SQL server in the same domain, and it is working fine. When I stop the SQL server in the remote machine, it gets started automatically in a few minutes. I want to know who is responsible for automatically starting…

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,203 questions
Microsoft Configuration Manager
asked 2024-07-01T13:52:21.2366667+00:00
Sathis Babu 0 Reputation points
commented 2024-07-05T05:58:21.63+00:00
AllenLiu-MSFT 42,356 Reputation points Microsoft Vendor
4 answers

DataSource.Error: Microsoft SQL - Power BI

Good day, I have a problem with Power BI, when I try to import a database it generates the following error: DataSource.Error: Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process.…

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,203 questions
asked 2024-07-04T14:38:30.8166667+00:00
Gaston N Escobar 0 Reputation points
answered 2024-07-05T05:18:53.1833333+00:00
Olaf Helper 42,761 Reputation points
4 answers

Index Rebuild

I read somewhere that in index rebuild, sql server first creates new index and then drops old on. Is it correct? OR it drops the old index and then creates new index?

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,203 questions
asked 2024-07-01T15:15:18.72+00:00
Chaitanya Kiran 776 Reputation points
edited a comment 2024-07-05T03:13:17.6033333+00:00
MikeyQiaoMSFT-0444 1,585 Reputation points
1 answer

sql server install not properly

TITLE: Microsoft SQL Server 2014 Setup The following error has occurred: SQL Server Setup has encountered an error when running a Windows Installer file. Windows Installer error message: An error occurred during the installation of assembly…

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,203 questions
asked 2024-07-04T04:46:59.23+00:00
Ashutosh Olekar 0 Reputation points
commented 2024-07-05T02:35:55.69+00:00
MikeyQiaoMSFT-0444 1,585 Reputation points
1 answer

SQL SERVER 2022 The system cannot find the specified path

I had previously downloaded SQL SERVER 2022 to my personal computer, but I got an error so I wanted to delete it and install it again. I'm getting a lot of errors when reinstalling, thank God I solved them all but now I can't solve this error, can you…

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,203 questions
asked 2024-07-04T07:29:39.15+00:00
MERT CAN ÖZBAY 0 Reputation points
edited an answer 2024-07-05T01:57:59.5+00:00
LucyChenMSFT-4874 2,825 Reputation points
1 answer

ISNULL - Clarification on how Nullable on data type affects for resultant columns

Data Creation: Create Table: create table tone_12 ( col_1 varchar(20) NULL, col_2 varchar(40) NULL, col_3 varchar(20) NOT NULL, col_4 varchar(40) NOT NULL, col_5 as isnull(col_1,col_4), col_6 as isnull(col_2,col_3) ) Insert statement: Insert into tone_12…

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,203 questions
asked 2024-07-04T16:13:24.5433333+00:00
Ashwin Kanumoori 40 Reputation points
answered 2024-07-04T20:20:43.8133333+00:00
Erland Sommarskog 105.8K Reputation points MVP
1 answer One of the answers was accepted by the question author.

SQL Server 2022 Import and Export Wizard & Microsoft.ACE.OLEDB.12.0

Hello All Please advise on what needs to be done to fix this error << The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine >> All feedback welcome Thanks Steve Microsoft SQL Server 2022 (RTM-CU13) (KB5036432) -…

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,203 questions
asked 2024-07-04T11:21:48.9433333+00:00
Stephen Keogh 20 Reputation points
accepted 2024-07-04T15:50:20.36+00:00
Stephen Keogh 20 Reputation points
3 answers

Training database PUBS

Dear friends, I'm looking for a description of the tables and fields of the Pubs training database. Can you help me please? Thank you very much, Anna

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,203 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,591 questions
asked 2021-05-07T16:47:27.23+00:00
BIVS Databaze 1 Reputation point
answered 2024-07-04T12:13:44.9366667+00:00
Anthony Lesar 0 Reputation points