18,643 questions with SQL Server-related tags

Sort by: Updated
2 answers

Fin Table By Value

Hello, I have an Network Performance Monitoring tools, and i create custom script to get some values for windows server. The script is run successful and return a value let say 565523. The problem is i want to make custom report and the vendor is not…

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,324 questions
asked 2024-07-18T06:13:02.07+00:00
Handian Sudianto 4,471 Reputation points
answered 2024-07-19T01:46:49.13+00:00
LiHongMSFT-4306 25,651 Reputation points
1 answer

SQL Distinct

Hello, I have record like below pic and need to filter so the output only have one record for each NodeID and sort by InstallDate. How I can do this by 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,324 questions
asked 2024-07-18T07:22:49.09+00:00
Handian Sudianto 4,471 Reputation points
commented 2024-07-19T01:28:50.96+00:00
LiHongMSFT-4306 25,651 Reputation points
1 answer

Add nodes to failover cluster

Hi All i am using windows server 2022, i want to add two nodes to failover cluster manager(these will be sql nodes). my VMs are hosted on azure, i am using quorum as cloud witness(i.e storage account). When adding nodes to windows 2019 cluster i used the…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,601 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,324 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
978 questions
asked 2024-07-18T23:50:07.5033333+00:00
Glenn Maxwell 10,741 Reputation points
answered 2024-07-19T00:45:52.55+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 34,191 Reputation points Microsoft Vendor
3 answers

SQL71501: Error validating element while activating always encrypted

I was activating always encryted in my database when this error showed: Error SQL71501: Error validating element [dbo].[VIEW_NAME]: View: [dbo].[VIEW_NAME] contains an unresolved reference to an object. Either the object does not exist or the reference…

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,324 questions
asked 2024-07-17T15:48:42.3233333+00:00
Francisco Vargas 0 Reputation points
commented 2024-07-18T22:03:47.03+00:00
Bruce (SqlWork.com) 61,266 Reputation points
1 answer

Loading of OLTP In-Memory DBs in SQL 2022 on Ubuntu really slow

We've started using OLTP In-Memory tables (schema durability only) in a small DB (DB properties show 137 MB of Row data, 1GB of In-Memory data, BAK size of 152MB) and the recovery times (either restarting the SQL service or restoring the DB from a BAK…

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,324 questions
asked 2024-07-12T20:57:07.58+00:00
Hugh Clark 0 Reputation points
edited a comment 2024-07-18T19:37:07.1433333+00:00
Hugh Clark 0 Reputation points
11 answers

SQL Server Management Studio 18 remember password not working?

With one of the latest updates of SSMS 18 (I'm now on 18.6), the remember password feature does not seem to work anymore. Am I missing something? Cheers, Galletto

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,324 questions
asked 2020-09-22T14:20:52.377+00:00
galletto 186 Reputation points
commented 2024-07-18T18:43:48.7033333+00:00
Jay Imerman 11 Reputation points
2 answers

ApplicationName in project connection manager

We have a large number of packages within an SSIS project and these make use of project connection managers. I would like to change the ApplicationName property of the connection string to reflect which package it is coming from as this will be useful…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,521 questions
asked 2024-07-18T13:24:58.9766667+00:00
Peter Bishop 161 Reputation points
edited an answer 2024-07-18T16:45:30.0733333+00:00
Yitzhak Khabinsky 25,726 Reputation points
2 answers

ADX/KQL through SQL linked server

Hello, Recently we have created a linked server in SQL Server and connection operates well. This link server targets an ADX cluster, and a named database.Nevertheless, I admit that I am quite familiar with SQL language, but I never been able to retrieve…

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
508 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,324 questions
asked 2024-07-16T13:44:51.6866667+00:00
David Chatel 0 Reputation points
commented 2024-07-18T15:13:41.8133333+00:00
David Chatel 0 Reputation points
1 answer

VS2019 - Connection Managers not saving passwords

I have an issue where passwords are not saving in the connection managers in my solution. I am able to add in the password and test it, then I ok it, however, when I go back in the password has disappeared. I have done some reading on this and one…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,521 questions
asked 2021-06-25T13:57:46.62+00:00
Jacob Walker 1 Reputation point
commented 2024-07-18T14:17:28.51+00:00
P. Nicole 5 Reputation points
1 answer One of the answers was accepted by the question author.

Is there support for SQLCMD in ODBC Driver 18?

Hi, Do you know when there will be support for SQLCMD using ODBC Driver 18? Currently only Version 17 supports SQLCMD looking at documentation.…

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,324 questions
asked 2024-07-12T11:32:08.6166667+00:00
Paul Butler 20 Reputation points
accepted 2024-07-18T13:32:07.0166667+00:00
Paul Butler 20 Reputation points
3 answers One of the answers was accepted by the question author.

Track data

Hi How can I track the data changes of a heavily used table in AG without performance impact in SQL 2017 and SQL 2022 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,324 questions
asked 2024-07-08T15:56:29.8366667+00:00
SVA 116 Reputation points
accepted 2024-07-18T13:14:45.8533333+00:00
SVA 116 Reputation points
1 answer One of the answers was accepted by the question author.

SQL Data Migration Assistant, what actually happens during migration?

Migrating in-house SQL 2014 databases to a new, in-house SQL 2019 server. Reading all the documentation I don't see where it explains what happens to the source databases during the migration process. Are they backed up, then taken offline/detached and…

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.
515 questions
asked 2022-04-12T21:57:43.443+00:00
Bill Clark 181 Reputation points
commented 2024-07-18T12:24:21.2366667+00:00
Alejandro Moreno Jr 0 Reputation points
0 answers

MDX request to System SSAS cube does not display the results

Hello, I'm trying to do some requests to analyse the usage of our cubes. All requests on $SYSTEM.DISCOVER_SESSIONS made in Microsoft SQL Server Studio or even in PowerShell are working well. However, everytime I try to request…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,260 questions
asked 2024-07-18T12:22:16.54+00:00
CAUDMONT Amaury 0 Reputation points
3 answers One of the answers was accepted by the question author.

SQL Procedure getting exit upon called

I have a sql stored procedure created which will be getting invoked for multiple tables and column sequence wise.There are multiple DDL scripts which have procedure call and these scripts will get executed via sqlcmd command.So there is a folder X which…

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,324 questions
asked 2024-07-12T17:06:00.1433333+00:00
Ruchita 20 Reputation points
accepted 2024-07-18T12:08:35.5066667+00:00
Ruchita 20 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,324 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,135 questions
asked 2024-07-13T23:18:32.4866667+00:00
Robin Kashyap 0 Reputation points
commented 2024-07-18T11:19:11.3766667+00:00
Chandra Boorla 240 Reputation points Microsoft Vendor
7 answers

Shrink Logs for a Database in Single Recovery mode

Dear All : i have an instance containing many databases, 3 databases have a big transaction log (12 GB, 9 GB, 4 GB) and consuming space from the partition. the 3 databases are simple recovery way. is there a way to shrink the log for these databases 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,324 questions
asked 2023-02-17T08:31:09.1666667+00:00
Tony Mourad 61 Reputation points
answered 2024-07-18T11:01:23.61+00:00
Manvendra Singh 0 Reputation points
1 answer

MICROSOFT SQL SERVER ERROR

SQL cannot attach a specific database and it show the logs has been corrupted, how could I resolve this w/out restoring the backup see the attach photo for your reference

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,324 questions
asked 2024-07-17T06:08:21.07+00:00
John Gilbert Alcazar 0 Reputation points
edited a comment 2024-07-18T10:30:12.64+00:00
Sassan Karai 81 Reputation points
1 answer

Unable to download SQL Server Master Data Services Add-in for Excel Plugin

Does anyone know of a working download link for the SQL Server Master Data Services Add-in for Excel? I receive an "Internal Server Error" when attempting to download from both the Microsoft Learn and Microsoft Download Center links. Any…

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,324 questions
asked 2024-07-16T10:24:45.98+00:00
Harsh Thakkar 0 Reputation points
commented 2024-07-18T10:13:00.16+00:00
MikeyQiaoMSFT-0444 1,755 Reputation points
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,324 questions
asked 2024-07-11T20:52:39.55+00:00
Byrd, Frank 0 Reputation points
commented 2024-07-18T10:12:02.41+00:00
MikeyQiaoMSFT-0444 1,755 Reputation points
2 answers

Use SQL Server 2022 License Key to Install SQL Server 2019

Hi, I have installed SQL Server 2019 on our cloud EC2 Windows server machine using the SQL Server Evaluation Edition with a 180-day free trial. We intend to purchase the SQL Server 2022 Standard Edition key. Can we use this key to activate the 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,324 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.
515 questions
asked 2024-07-11T09:43:23.8833333+00:00
surya kannan 0 Reputation points
commented 2024-07-18T10:11:31.1033333+00:00
MikeyQiaoMSFT-0444 1,755 Reputation points