18,577 questions with SQL Server-related tags

Sort by: Updated
1 answer

How to "restore" AdventureWorks .bak into Azure SQL Database

I'm trying to get the AdventureWorks dataset into a new Azure SQL Server Database, using the instructions here : https://learn.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver16&tabs=ssms When I connect to the…

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,274 questions
asked 2024-07-15T17:16:06.2433333+00:00
Amy Elmer 0 Reputation points
answered 2024-07-15T18:17:12.9333333+00:00
Alberto Morillo 33,421 Reputation points MVP
0 answers

Command sp_create_sbs_file in pool SQL - Azure Synapse

Hi, We discovered last week that pool SQL from Synapse ran the query “sp_create_sbs_file” multiple times and the usual queries were not being run. I would like to know why this command executes and what actions we can take to work around the problem. I…

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,657 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,274 questions
asked 2024-07-15T12:06:18.4+00:00
commented 2024-07-15T17:25:42.4833333+00:00
BhargavaGunnam-MSFT 28,936 Reputation points Microsoft Employee
2 answers

Why are the database rows are getting deleted automatically sql

I got a copie from a comany to to make a projet and i createt a table in the database and some times wenn i log in on the pc all the rows from the table are delete it happent to me 3 times now last time was Friday an now monday and it is not a trigger…

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,274 questions
asked 2024-07-15T09:58:47.7266667+00:00
Gabriel Gomes Aguiar 0 Reputation points
commented 2024-07-15T15:51:30.2166667+00:00
Erland Sommarskog 106K Reputation points MVP
3 answers

OLE DB Driver for SQL Server not working for external db host

Hello, I am having the same issue with our Connection Manager (see link below - new device with VS2019 installed plus SQL Server Integration Services Projects / SQL Data Tools). The recommendation is to change the 'Provider' from SQL Server Native Client…

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,274 questions
asked 2024-07-12T11:19:37.0733333+00:00
James, Thomas 1 Reputation point
answered 2024-07-15T15:31:03.6066667+00:00
Yitzhak Khabinsky 25,726 Reputation points
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,274 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,885 questions
asked 2024-07-08T18:52:02.8866667+00:00
DoveConnieDES-3786 1 Reputation point
commented 2024-07-15T13:39:58.36+00:00
DoveConnieDES-3786 1 Reputation point
1 answer

SSIS Wizard new mapping file not found

Hi I am attempting to migrate a Sybase ASA database to SQL Server using the 'SQL Import and Export Wizard' within Visual Studio 2019. I am able to run the wizard and create a package but the datatype mappings are not correct, e.g. datetime is mapped…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,509 questions
asked 2022-02-14T20:11:32.557+00:00
Marshall, Richard J 1 Reputation point
commented 2024-07-15T12:58:08.4066667+00:00
Eve Harrell 0 Reputation points
1 answer

To load appfile format files into SQL Server In this process we need to change file format or we can directly import the appfile format files to view the actual appfile format data. what is the extension of appfile to upload this files on SQL Server .

Hi Team To load appfile format files into SQL Server In this process we need to change file format or we can directly import the appfile format files to view the actual appfile format data. what is the extension of appfile to upload this files on 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,274 questions
asked 2024-07-13T11:00:58.3466667+00:00
nn 20 Reputation points
edited a comment 2024-07-15T11:36:56.4633333+00:00
Viorel 114.4K Reputation points
1 answer

Convert of HTML

Hello How to convert the html data in a table column to table format and store in another table 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,274 questions
asked 2024-07-10T12:41:12.3666667+00:00
SVA 91 Reputation points
commented 2024-07-15T11:27:43.52+00:00
Zahid Butt 641 Reputation points
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,657 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,274 questions
asked 2024-07-15T05:04:01.89+00:00
SUBHAM KUMAR 0 Reputation points
commented 2024-07-15T11:00:53.8633333+00:00
phemanth 8,480 Reputation points Microsoft Vendor
1 answer

sửa lỗi này giúp mình vớ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,274 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,605 questions
asked 2024-07-09T05:55:00.4833333+00:00
Ngọc Hân 0 Reputation points
commented 2024-07-15T09:47:24.2533333+00:00
Hongrui Yu-MSFT 945 Reputation points Microsoft Vendor
1 answer

secondary replica disconnected when joined in Availability Replica

If someone experience error message below: how is it fixed? 2023-02-15 07:11:03.100 spid31s A connection time-out has occurred on a previously established connection to availability replica 'SQLPRIMARY' with id [<replicaid>]. Either a networking or…

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,274 questions
asked 2024-07-14T03:59:14.9+00:00
RASWADI 60 Reputation points
commented 2024-07-15T09:28:41.8733333+00:00
RASWADI 60 Reputation points
1 answer

Built in SQL server in synapse is unavailable

Hi, Even after changing the firewall settings, the built in SQL server status is unavailable. Someone please assist. Step-by-step solution would be really helpful. Thanks in advance.

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,657 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,274 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,084 questions
asked 2024-07-13T05:40:54.8066667+00:00
shailaja Azure 0 Reputation points
edited the question 2024-07-15T09:21:20.5933333+00:00
KapilAnanth-MSFT 40,336 Reputation points Microsoft Employee
2 answers

Multiple Users Read/Write to same SQL record

Hello, I have a pretty simple database that is read and written to through an asp.net c# website. Users see a grid with data and they can open a record to make changes. More than one user can open that same record, and what I am finding out is that 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,274 questions
asked 2024-07-11T20:52:39.55+00:00
Byrd, Frank 0 Reputation points
answered 2024-07-15T09:13:19.74+00:00
MikeyQiaoMSFT-0444 1,750 Reputation points
2 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,274 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.
65 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,597 questions
asked 2024-07-15T03:15:50.06+00:00
WingHong Shiu 0 Reputation points
commented 2024-07-15T09:12:22+00:00
Erland Sommarskog 106K Reputation points MVP
2 answers

Replication in-place upgrade is failing from 200R2 to 2016

Hi All, We are doing upgrade from SQL 2008R2 to SQL 2016, during upgrade replication feature is failing. Its asking to check SQL Logs, we checked SQL logs and there is no errors. Let me know how to proceed on this. Error: Feature: …

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,274 questions
asked 2024-07-12T05:16:47.08+00:00
CK 61 Reputation points
commented 2024-07-15T08:56:30.7+00:00
CK 61 Reputation points
1 answer

Connection between on-premises SQL server with Azure data factory

I tried to connect my local SQL server to Azure data factory but getting this error. Credentials are ok I double checked it Cannot connect to SQL Database. Please contact SQL server team for further support. Server: 'localhost', Database: 'XXXXXXXXXX',…

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,274 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,084 questions
asked 2024-07-13T23:18:32.4866667+00:00
Robin Kashyap 0 Reputation points
commented 2024-07-15T08:23:23.1066667+00:00
Chandra Boorla 155 Reputation points Microsoft Vendor
0 answers

SQL Server is terminating because of fatal exception c0000005

Facing this SQL Server access violation error on SQL Server 2016 (13.0.6435.1) running on Azure VM during startup! Error: 17311, Severity: 16, State: 1. SQL Server is terminating because of fatal exception c0000005. This error may be caused by an…

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,274 questions
asked 2024-07-03T08:08:08.9933333+00:00
Karthick 0 Reputation points
commented 2024-07-15T07:43:27.78+00:00
Karthick 0 Reputation points
2 answers

Visual Studio 2022 unable to connect to excel

Hi Folks, I wish to connect to Excel sheet from my Visual studio 2022 however when I create a connection and ran it the following error was produced. I am running Win10 64bit. ERROR Exception from HRESULT: 0xC020801C Error at Package [Connection manager…

Access
Access
A family of Microsoft relational database management systems designed for ease of use.
336 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,509 questions
asked 2024-07-13T03:00:10.69+00:00
Sebring 41 Reputation points
edited a comment 2024-07-15T07:08:58.26+00:00
Sebring 41 Reputation points
1 answer

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,274 questions
asked 2024-07-11T13:58:53.66+00:00
Kasthuri C M 0 Reputation points
commented 2024-07-15T06:05:53.9433333+00:00
LucyChenMSFT-4874 2,985 Reputation points
2 answers

What component of I/O subsystem caused database corruption in my SQL Server

As per Error 824 that has occurred in my SQL error Log, I have found that the I/O subsystem is the cause of the database corruption. Error 824 However, I want to dig further and understand which specific component of the I/O subsystem caused 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,274 questions
asked 2024-07-11T05:49:49.4266667+00:00
IT Researcher 46 Reputation points
commented 2024-07-15T06:05:31.49+00:00
LucyChenMSFT-4874 2,985 Reputation points