18,125 questions with SQL Server-related tags

Sort by: Updated
1 answer

Hi there I'm going to be a re your

Go to the refund payment related posts thumbnail of hi hi I am a

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,813 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.
12,883 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,243 questions
asked 2024-05-23T03:15:37.99+00:00
Rk 0 Reputation points
answered 2024-05-23T03:15:50.2733333+00:00
Rk 0 Reputation points
3 answers

Unable to connect SQL server to Azure data factory

Cannot connect to SQL Database. Please contact SQL server team for further support. Server: 'DESKTOP-1J7NBOS', Database: 'DataWarehouse', User: 'ak2'. Check the linked service configuration is correct, and make sure the SQL Database firewall allows 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.
12,883 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,726 questions
asked 2024-05-20T20:53:22.6433333+00:00
Sibbinath, Akhil 0 Reputation points
commented 2024-05-23T03:01:53.2433333+00:00
MikeyQiao-MSFT 655 Reputation points Microsoft Vendor
0 answers

How to parse SOAP XML in SQL Server and show as table

DECLARE @xml XML ='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header /> soapenv:Body <ns0:GetListResponse xmlns:ns0="urn:Consultaurartmasiva1"…

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,883 questions
asked 2024-05-23T02:00:53.51+00:00
diego diaz 1 Reputation point
1 answer

I cannot install sql server on my windows 11. Keep getting an oops, exit decimal error code

I am unable to install sql server on my windows computer

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,883 questions
asked 2024-05-22T22:07:53.64+00:00
Emmanuel Zewde 0 Reputation points
edited an answer 2024-05-23T01:59:08.71+00:00
MikeyQiao-MSFT 655 Reputation points Microsoft Vendor
3 answers

SQL Server 2019 download

I currently have SQL Server 2016 but got a db backup from a 2019 server and found that it isn't backwards compatible. I just want to be able to download a copy of SQL Server 2019 that's not an eval copy and would prefer to get it from Microsoft. Can…

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,883 questions
asked 2024-05-22T16:33:07.0433333+00:00
Melanie Sias 0 Reputation points
answered 2024-05-23T01:49:59.8366667+00:00
ZoeHui-MSFT 33,386 Reputation points
0 answers

How can I sync data from a source database table without primary key to the destination database table with primary key

Hi all, If the source MS SQL SERVER 2017 database table does not have primary key but destination MS SQL SERVER 2019 database table has primary key, what is the best way or method to make both tables data in sync? Please take into consideration that…

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,883 questions
asked 2024-05-23T01:45:18.7933333+00:00
Cindy See 166 Reputation points
0 answers

SQL Server Non Clustered Index CREATE taking forever to cancel

I ran a CREATE NON CLUSTERED INDEX command for 1.5 hours. Decided to cancel it because it was stopping other things running. The command has now been running for 22 hours. What is it doing that takes so long to roll back? The table is 2 billion rows 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.
12,883 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.
50 questions
asked 2024-05-23T00:03:03.8166667+00:00
Nick Ryan 221 Reputation points
edited the question 2024-05-23T01:30:03.58+00:00
ZoeHui-MSFT 33,386 Reputation points
3 answers

ssis package upgrade fail

I am trying to upgrade my SSIS packages from sql 2016 to 2019. The steps I did is opened the project in Visual Studio 2022, and then set the targetversion to 2019. And then Upgrade all the packages. It completed without any errors. But when I open one of…

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.
12,883 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,466 questions
asked 2024-05-22T06:09:17.5433333+00:00
Asharaf Ali 61 Reputation points
commented 2024-05-23T01:29:13.3166667+00:00
ZoeHui-MSFT 33,386 Reputation points
3 answers

How to sql dump generation on sql server 2008 ?

Good morning, I use SQL SERVER 2008 R2 and for a few days now I have had disk C filling up due to the generation of SQLDUMP files in the log directory. Can you give me the procedure to disable the generation of these files please. Thanks in advance.

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,883 questions
asked 2024-05-13T16:40:04.5466667+00:00
Tidiane TRAORE 0 Reputation points
commented 2024-05-23T01:12:29.94+00:00
LucyChenMSFT-4874 1,280 Reputation points
2 answers

Failure to use BCP IN to import data into a table

bcp "SELECT * from dp_history21052024 WHERE CONVERT(DATE,effective_dt,103) >'29-Feb-2024'" queryout "D:\Data\Data.csv" -S ORBITLITEDB-SVR -d OrbitLiteLive -U sa -P xxxxxxxx -c -t, -r\n and then the below for import bcp…

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,883 questions
asked 2024-05-22T07:15:59.7733333+00:00
Godfrey Mugisa 0 Reputation points
answered 2024-05-22T21:30:37.6333333+00:00
Erland Sommarskog 102.3K Reputation points
2 answers

Service Broker Queue - Receive

Hi, I want to read SQL service broker messages and push to Azure service bus. And my .net core application is used for the same. Currently I am using 'receive' command. The problem with 'receive' is that the message is getting deleted from service broker…

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,883 questions
asked 2024-05-22T11:18:16.0366667+00:00
Santhi Dhanuskodi 145 Reputation points
answered 2024-05-22T21:17:37.9966667+00:00
Erland Sommarskog 102.3K Reputation points
0 answers

Trying to Bulk Insert SSN data into an always Encrypted column and is not working. Any guidance please.

I am having trouble Bulk inserting the SSN data from a simple SQL table to a table where I have an always encrypted column. I am not getting any right solution after googling around. Please share if anyone has done similar kind of work. Thanks, SK.

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,883 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,563 questions
asked 2024-05-22T18:37:24.0333333+00:00
Sanjay Kumar 0 Reputation points
commented 2024-05-22T21:08:15.15+00:00
Erland Sommarskog 102.3K Reputation points
2 answers One of the answers was accepted by the question author.

“wait on the database engine recovery handle failed . check the sql server error log for potential causes ” message appearing when the installation of SQL Server 2014 is almost complete

“wait on the database engine recovery handle failed . check the sql server error log for potential causes ” message appearing when the installation of SQ L Server 2014 is almost complete

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,883 questions
asked 2024-05-19T19:01:44.0666667+00:00
Ammar Al-Selwi 0 Reputation points
commented 2024-05-22T21:02:07.6033333+00:00
Erland Sommarskog 102.3K Reputation points
1 answer

Why does impersonation (Execute as) work in a User database and not in the master database in Azure SQL DB?

Execute As User = 'User1' doesn't work in the Azure SQL DB master database. User1 account created in the master database and in a user database. Execute As User works in the user database and in the master database, receives the error: Msg 15517, Level…

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.
50 questions
asked 2024-05-21T17:00:07.2233333+00:00
Jerimy Stanley 0 Reputation points
commented 2024-05-22T20:56:36.25+00:00
Erland Sommarskog 102.3K Reputation points
1 answer

SSMS not flagging basic errors after IIF statement

DMF_SSMS_SQL_IIF_Err.pdf I just wanted to notify Microsoft of an error I believe I found with SSMS error notification. Going thru some scripts, I came across one that had a CASE and IIF in it. I accidently did a typo, no errors, but failed. I then…

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,883 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,563 questions
asked 2024-05-20T15:07:50.28+00:00
AdamG Devl 0 Reputation points
commented 2024-05-22T20:54:29.3566667+00:00
Erland Sommarskog 102.3K Reputation points
2 answers

how to fix Error SQL71501: Error validating element [dbo].[int ]: Column: [@tWebCheckins].[TenantID] has an unresolved reference to Built-in Type [dbo].[int ]. Error SQL71501: Error validating element [dbo].[int ]: Column: [@tAttendance].[TenantID] has an

Error SQL71501: Error validating element [dbo].[int ]: Column: [@tWebCheckins].[TenantID] has an unresolved reference to Built-in Type [dbo].[int ]. Error SQL71501: Error validating element [dbo].[int ]: Column: [@tAttendance].[TenantID] has an…

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.
12,883 questions
asked 2024-05-21T04:12:51.41+00:00
Ashraf Khan 0 Reputation points
commented 2024-05-22T20:47:48.7033333+00:00
Erland Sommarskog 102.3K Reputation points
1 answer

Synapse Python/Spark Notebook code with SQL to query data from linked service to SQL Server

In Synpase, I have linked service to a SQL Server database. I'm looking for a sample notebook code, either in python or spark, that I can run a complex SQL qery within this code to get data from multiple SQL Server tables, put the rsults in a dataframe…

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,462 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.
12,883 questions
asked 2024-04-24T13:45:40.7233333+00:00
ylycfj88 10 Reputation points
commented 2024-05-22T19:27:53.9733333+00:00
ylycfj88 10 Reputation points
7 answers

SQL SERVER 2022 - certificate error when creating a job for integration services

In a test environment with SQL Server 2022 Developer Edition, I am trying to create a job to run an SSIS package. These same packages have been successfully tested in SQL 2019. When trying to create the job, configuring it as follows: General / Owner :…

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,883 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,466 questions
asked 2024-04-10T03:35:21.82+00:00
Marcio Matos 35 Reputation points
answered 2024-05-22T18:59:17.52+00:00
Kristina Bolwell 0 Reputation points
1 answer One of the answers was accepted by the question author.

SQL 2016 Linked Server Problems

I am trying to setup a linked server connection to another DB running a non-MSSQL DB. On the local server the account I am using has Sysadmin right on the remote server the local DB account has what they call Admin rights as well. We have tried using…

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,883 questions
asked 2024-05-15T20:35:42.68+00:00
rr-4098 1,276 Reputation points
accepted 2024-05-22T18:52:24.9466667+00:00
rr-4098 1,276 Reputation points
4 answers

could not load file or assembly'Microsoft.data.sqlclient'

how to solve this error

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,456 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,307 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,687 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.
12,883 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,369 questions
asked 2023-09-12T17:01:47.29+00:00
Niyati Savaliya 0 Reputation points
edited an answer 2024-05-22T16:14:52.2633333+00:00
Andreas G 0 Reputation points