17,842 questions with SQL Server-related tags

Sort by: Updated
0 answers

Query structure for WHERE EXISTS for Linked Server with Lookup Table?

Hello, I have a Linked Server which my target is a VIEW and also have a local DB Lookup TABLE which contains just one Column with multiple records/values. I would like to get all of the records from the Linked Server VIEW which has multiple Columns…

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,636 questions
asked 2024-04-18T19:33:57.04+00:00
techresearch7777777 1,766 Reputation points
1 answer

ASP SQL connection string to Windows Server 2022 Datacenter Azure Edition

I have an ASP website residing on a Windows Server 2022 Datacenter Azure Edition. The website is linked to a SQL database on the same server. When trying to log in, the connection fails with message "Exception:Thrown: "A network-related or…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
926 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 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,636 questions
asked 2024-04-18T17:46:52.3166667+00:00
Product Support 0 Reputation points
answered 2024-04-18T18:13:41.6333333+00:00
Vahid Ghafarpour 17,700 Reputation points
1 answer

Looking for guidance on integrating third-party data into our domain

Hi, My company's transactional system is MS Dynamics 365. We need to import various third-party data into our domain. I'm a Power BI developer but have been assigned this project. I'm looking for guidance on a suitable database and integration tool. …

Azure SQL Database
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,476 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,450 questions
asked 2024-04-18T16:54:37.4433333+00:00
Anon101 51 Reputation points
answered 2024-04-18T17:56:31.9666667+00:00
Amira Bedhiafi 14,806 Reputation points
0 answers

cleanup old transactional replication snapshot files

I have a transactional replication between a publisher and a subscriber where the subscriber also acts as the distributor. I am facing storage issues as old snapshot files are not being auto cleaned up after successful application via distributor. 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.
12,636 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,078 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.
40 questions
asked 2024-04-18T17:46:01.6433333+00:00
Abimbola Adeniran 21 Reputation points
edited the question 2024-04-18T17:46:32.64+00:00
Abimbola Adeniran 21 Reputation points
2 answers One of the answers was accepted by the question author.

Could not locate statistics error when reading data from seondary node in an alwayson using linked server

Hi, Seeing below error when reading data from seondary node in an alwayson using linked server. Please advise if there is a permanent fix for this instead of dropping and recreating the statistics individually. DBCC execution completed. If DBCC…

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,636 questions
asked 2022-01-12T13:30:06.823+00:00
Kranthi DBA 221 Reputation points
commented 2024-04-18T17:37:26.5433333+00:00
Cüneyd Tanrıverdi 0 Reputation points
1 answer One of the answers was accepted by the question author.

SQL Server fails to start on Ubuntu 22.04

I created a new instance of Azure VM running Ubuntu 22.04 just to reproduce this issue. I'm following this guide to install the SQL server on my freshly deployed VM. There should be definately enough resources to run it with 8GB RAM and 2 CPU cores. I…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,079 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,636 questions
asked 2024-04-18T09:23:20.59+00:00
Sebastian Meckovski 0 Reputation points
accepted 2024-04-18T17:03:50.9066667+00:00
Sebastian Meckovski 0 Reputation points
0 answers

database engine services (mssqlserver) failed

when i tried to update sql sever i get this error and i tried to run it as adminstor still get the some error what can i do please

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,032 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,636 questions
asked 2024-04-18T16:19:38.3533333+00:00
Salma 20210413 0 Reputation points
2 answers

SQL Authentication

when logging into sql manangement studio via windows authentication, i used to be able to drop down to select the server i wanted to log into. Now, it only saves the last one i logged into, with no option to see the others i logged into previously. It…

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,636 questions
asked 2024-04-18T15:21:50.3266667+00:00
Marie A 0 Reputation points
commented 2024-04-18T15:45:31.3533333+00:00
Alex Burlachenko 0 Reputation points
2 answers

How to update sequence of person if he has relative

Currently RelativeID is blank in database. Ho I can update the RelativeID from sequence. If any Empid has relative then should update the unique RelativeID starting from 1. If someone has two relative then RelativeID will be 1 and 2. If someone has three…

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,636 questions
asked 2024-04-17T22:26:20.6+00:00
Martin Kevin 221 Reputation points
commented 2024-04-18T15:32:03.6133333+00:00
Martin Kevin 221 Reputation points
1 answer

Could you please suggest the list of software needed to register and use a custom component in data tools tool box using VS2019 in x64

Issue Description: Facing issue in setting up and running SSIS in debug mode in VS2015 that can recognize 64-Bit C# custom components in Data Tools Tool box. Created MyCustomComponent.dll by referencing below dlls. Took the dlls from…

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.
490 questions
asked 2024-04-08T12:34:26.1366667+00:00
SAILANATHAN Balaji 0 Reputation points
commented 2024-04-18T15:30:27.1433333+00:00
Michael Taylor 47,711 Reputation points
5 answers

SQL Server Reporting Services is spewing logs - This may be due to a connection failure, timeout or low disk condition within the database.

On SQL Server Reporting Services, all of a sudden logs are full of : library!WindowsService_0!16e4!04/16/2024-13:52:26:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the…

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,790 questions
asked 2024-04-16T21:05:48.3733333+00:00
Lori Cho 0 Reputation points
answered 2024-04-18T15:24:23.1433333+00:00
Lori Cho 0 Reputation points
2 answers

Migrate Azure SQL server instance to SQL managed instance

Dear forum, We're planning to migrate our DBs on a SQL server instance to a SQL managed instance. We're focussed on migration our dev/test instance first before doing production. The back-ups are done using the Azure Recovery Vault service. We would like…

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.
12,636 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.
490 questions
asked 2024-04-18T13:26:25.6633333+00:00
NIJSTEN Stephen 60 Reputation points
answered 2024-04-18T14:09:24.83+00:00
Alex Burlachenko 0 Reputation points
3 answers

how to connect remotely to sql server

i have followed all the instructions mentioned in websites to enable remote connectivity to sql server. i am still not able to connect to the server. what could be the possible reason?

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,636 questions
asked 2024-04-17T09:56:06.1966667+00:00
Aratrika Kundu 0 Reputation points
answered 2024-04-18T14:04:26.98+00:00
Rahul Randive 8,176 Reputation points Microsoft Employee
3 answers

Merge Replication Web Synchronization with SQL Express subscriber

our publisher is in SQL Server 2012 enterprise and our subscription machines are running SQL Express 2012. We are trying to setup a sync between a Server X(in a corporate network) and an external machine with SQL Express installed. We are tried merge…

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,636 questions
asked 2021-04-30T17:02:57.457+00:00
Vikas Pillai 26 Reputation points
edited a comment 2024-04-18T13:53:12.7366667+00:00
almuatacim hamouda 0 Reputation points
5 answers One of the answers was accepted by the question author.

Upgrade SQL server 2014 to 2019 after lift and shift to Azure

Hi, We are planning to do in-place upgrade SQL server from 2014 to 2019. The server is lift and shifted to Azure so is updating the server same as updating on premise server or is there anything different. please provide suggestions. Thank you

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,636 questions
asked 2024-04-16T17:01:10.83+00:00
Newtojob 26 Reputation points
accepted 2024-04-18T13:13:55.0733333+00:00
Newtojob 26 Reputation points
1 answer

How connect from AWS DMS to a remote Microsoft SQL Server using windows authentication as login method

Hi I need to connect to a remote server, this server allows only windows authentication, when I try to connect usign python Im able to log in and run queries using pymssql from my computer on the company domain. import pymssql conn = pymssql.connect( …

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,636 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,817 questions
asked 2024-03-15T16:44:11.74+00:00
Javier Rendon 0 Reputation points
answered 2024-04-18T12:46:59.4566667+00:00
Greg Low 1,155 Reputation points Microsoft Regional Director
0 answers

I am unable to set up SQL server on my system. Tried SQL 2019 and the latest one. Nothing works, tried everything but it just doesnt work out

Hi there, I have been trying install and make SQL server work on my personal system. I wanted to learn and learned the basics from various sources> Now I need to practice with various datasets. Been trying to install SQL 2019, 2022 but nothing works.…

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,636 questions
asked 2024-04-14T14:03:31.9633333+00:00
vibhu yasha 0 Reputation points
commented 2024-04-18T12:40:20.51+00:00
Greg Low 1,155 Reputation points Microsoft Regional Director
1 answer

Index statements on Transactional Replication

I read that in Transaction replication, create/alter/drop index statements are not replicated. Is it true?

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,636 questions
asked 2024-04-18T07:51:36.7066667+00:00
Chaitanya Kiran 676 Reputation points
answered 2024-04-18T12:37:59.9133333+00:00
Greg Low 1,155 Reputation points Microsoft Regional Director
1 answer

Insert statement not inserting value for one field in sql database

I have one existing table, now I have added one new field. When I try to insert value in that field it's not insert that value. its storing null value. This is very odd issue I am facing.

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,636 questions
asked 2024-04-18T10:13:16.03+00:00
Rajesh Bargode 20 Reputation points
commented 2024-04-18T12:27:41.5966667+00:00
Zahid Butt 556 Reputation points
2 answers One of the answers was accepted by the question author.

SSMS v18.3 "Trust Server certificate" option

On one server , I have set ForcedEncryption to True. I have also attached server certificate to service account, with service account having read rights on certificate. Everything working as expected. When I query sys.dm_exec_connections, I see Encrypt =…

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,636 questions
asked 2024-04-17T18:31:14.69+00:00
Mudit Gupta 61 Reputation points
accepted 2024-04-18T12:20:05.16+00:00
Mudit Gupta 61 Reputation points