18,203 questions with SQL Server-related tags

Sort by: Updated
1 answer

Typo on page

Hi, where do we give feedback for a typographical error on a MS Learn page? https://learn.microsoft.com/en-us/training/modules/sql-server-2022-performance-enhancements/3-memory-feedback-exercise Item 6. IsMemoryGrangFeedbackAdjusted should be…

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.
5 questions
asked 2024-05-31T19:07:21.7766667+00:00
Ric Oliva 0 Reputation points
edited an answer 2024-06-01T20:36:51.1466667+00:00
Erland Sommarskog 102.5K Reputation points
0 answers

How can I fix this problem

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,947 questions
asked 2024-06-01T18:47:44.59+00:00
Kartik Tautwar 0 Reputation points
commented 2024-06-01T19:10:05.72+00:00
Erland Sommarskog 102.5K Reputation points
1 answer

I have windows 11 laptop, how can I fix this problem?

I tried to install SQL but I couldn't open it. Errors keep popping up. I uninstalled all the previous SQL Database applications or features and restarted my PC but it didn't work. Two days passed fixing this but still, I didn't know what's the problem.…

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,947 questions
asked 2024-06-01T18:36:12.7166667+00:00
Kartik Tautwar 0 Reputation points
answered 2024-06-01T18:42:26.33+00:00
Erland Sommarskog 102.5K Reputation points
0 answers

SQL19 express installation Error

I'm trying to install 'Microsoft SQL Server 2019 Express' with below steps: Used Custom Installation step From SQL Server Installation Center: I've selected 'New SQL Server Standalone installation' In the feature selection, I've selected a.…

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,947 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,835 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,474 questions
asked 2024-06-01T08:58:03.0366667+00:00
Pramod Kumar 0 Reputation points
commented 2024-06-01T17:59:36.39+00:00
Erland Sommarskog 102.5K Reputation points
3 answers

CPU used query return wrong result

Hi, After the CPU upgrade to 98 cores when I execute the query to find the sqlserver usage and system idle shows the result more than 100%. for example SQL Server process utilization - 20 System idle process - 89 The query which I used was Please help…

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,947 questions
asked 2024-05-30T20:18:20.67+00:00
SVA 86 Reputation points
edited a comment 2024-06-01T15:56:21.7566667+00:00
SVA 86 Reputation points
1 answer

Errors on some reports after upgrading to16.0.8886.1775 (SQLServerReportingServices_16.0.1115.92.exe dated 5/1)

After upgrading we get this error on multiple (not all) reports "The Hidden expression for the tablix 'table1' contains an error: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0,…

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,835 questions
asked 2024-05-30T16:41:17.3866667+00:00
Kehoe, Tim 0 Reputation points
commented 2024-06-01T15:45:04.3233333+00:00
Kehoe, Tim 0 Reputation points
4 answers One of the answers was accepted by the question author.

How to force a rollback of SQL Server to stop

I'm registering or updating a lot of data in DB in SQL Server. Due to circumstances, this transaction is a very large unit, and if an error occurs, a rollback of more than 24 hours occurs. In this situation, is there an emergency way to force 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,947 questions
asked 2021-05-14T17:57:56.857+00:00
knt1N 286 Reputation points
commented 2024-06-01T15:09:30.97+00:00
IanBoyd 1 Reputation point
1 answer

SQL Server 2022 Express installation - how to fix 'error while checking Rules of Sql Server set up'?

Hello, I am having trouble installing SQL Server 2022 Express Edition, Basic installation type. I keep getting this error during installation: "There was an error while checking Rules of Sql Server setup" I have so far tried: Restarting my…

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,947 questions
asked 2024-05-29T12:02:47.3133333+00:00
Mariel 0 Reputation points
commented 2024-06-01T09:41:48.36+00:00
Erland Sommarskog 102.5K Reputation points
9 answers One of the answers was accepted by the question author.

SSMS hangs for an extended period when closing a query tab or object explorer when a connection cannot be established to the SQL Server

Suppose I am connected via VPN to a network that includes a SQL server. I then open SSMS and connect to that server. Eventually the VPN loses connection or I disconnected (work is finished for the day, whatever) I then attempt to close an SSMS…

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,947 questions
asked 2022-03-15T17:09:44.58+00:00
allmhuran 136 Reputation points
commented 2024-06-01T09:39:52.3933333+00:00
Erland Sommarskog 102.5K Reputation points
3 answers One of the answers was accepted by the question author.

Completely remove Ledger Table from Database

Is there a way how to completely remove Ledger table from a database and reclaim disk space? History table can take gigabytes, and I want to remove all the data related to some ledger table. Data and history. But I don't see how it can be done.

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,947 questions
asked 2024-05-31T07:38:46.19+00:00
Oleg Gelya 20 Reputation points
commented 2024-06-01T06:15:54.4566667+00:00
Oleg Gelya 20 Reputation points
5 answers

Install SCOM 2022 on Windows Server 2022

Hi, I have evaluations of Windows Server 2022, SQL Server 2022 and SCOM 2022. I have a Windows Server VM on VMware Workstation. I want to install SCOM. I'm using this link…

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
863 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,947 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,340 questions
asked 2024-05-30T21:27:08.9133333+00:00
Mike 2 20 Reputation points
edited an answer 2024-06-01T04:28:47.6133333+00:00
Mike 2 20 Reputation points
0 answers

SQL managed instance stopped saying I got the vCore 720 reached

I've create a resource of SQL managed instance with the new offer of free vCore 720 hours/month for 12 months. But after 2 weeks the database stopped saying I got the vCore 720 reached. Is that right? I've created just 1 database in the instance. How 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,947 questions
asked 2024-05-30T08:48:39.2433333+00:00
GK 0 Reputation points
commented 2024-06-01T03:56:27.1033333+00:00
Aki Nishikawa 805 Reputation points Microsoft Employee
2 answers

How to install SQL Server 2022 on Ubuntu Server 24.04 LTS

I couldn't find a proper way to install the SQL Server 2022 on Ubuntu Server 24.04 LTS, I tryed to use the microsoft SQL Server 2022 from Ubuntu 22.04 repo, but couldn't get the service running properly. I ended with this service status (see print). Is…

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,947 questions
asked 2024-05-24T00:46:20.3866667+00:00
Michael F. Assis 5 Reputation points
edited a comment 2024-06-01T02:37:55.47+00:00
JOSE ANTONIO VERGARA VEAS 0 Reputation points
1 answer

How to lock transactions that cannot be ended autonomously

An abnormal table lock was detected in the production environment. Tracking revealed a transaction that lasted for several hours, which was conspicuous in a production setting where transactions typically last no more than 30 seconds. Monitoring through…

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,947 questions
asked 2024-05-31T09:06:33.96+00:00
博雄 胡 70 Reputation points
answered 2024-05-31T21:17:42.5066667+00:00
Erland Sommarskog 102.5K Reputation points
1 answer

Set up valuable Indexes on a table

I have a really big transaction table, billions of rows, and I need some kinds of Indexes to make it useful. Right now there is a clustred columnstore index on the table, and a nonclustred on ID, but I guess I need some nonclustred to make the table…

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.
52 questions
asked 2024-05-31T14:45:31.69+00:00
Fredrik M 146 Reputation points
answered 2024-05-31T21:10:03.6666667+00:00
Erland Sommarskog 102.5K Reputation points
4 answers One of the answers was accepted by the question author.

Hash table creation issue in Sql server

I have created hash table in outer procedure with 2 columns and trying to create another hash table with same name but 3 columns. Now if i try to insert into hash table in inner procedure i get error saying not able to access third column (which was 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.
12,947 questions
asked 2024-05-30T09:15:06.0866667+00:00
yashwin g shetty 40 Reputation points
commented 2024-05-31T20:54:17.3133333+00:00
Erland Sommarskog 102.5K Reputation points
2 answers

exit code (decimal): -2068052377error description: invalid command line argument. consult the window installer sdk for detailed command line help

This morning I was still able to use sql, I was curious and deleted something like SQLEXPRESS16, then I uninstalled all sql and reinstalled it all, and used quite a few cmd commands that I didn't know to uninstall but still nothing. I can't remove them,…

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,947 questions
asked 2024-05-29T14:08:19.1766667+00:00
Dukanhh 0 Reputation points
commented 2024-05-31T20:51:30.3233333+00:00
Erland Sommarskog 102.5K Reputation points
3 answers

i have few snapshot transactions, now i need to put nolock/read uncommit for perticular table

hi, I have few snapshot transactions , now my admin has informed me that put no lock in all tables in snapshot transactions, as it was blocking locking deadlocking with others. so I suggested to put read uncommited instead of snapshot when u are…

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,947 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,566 questions
asked 2024-05-20T07:11:58.9+00:00
Rajesh Kumar Yadav 0 Reputation points
commented 2024-05-31T20:47:35.6666667+00:00
Erland Sommarskog 102.5K Reputation points
1 answer

Power BI Sources and Education

Just looking for some good Power BI resources and education materials...web sites...YouTubes And is there a separate Forum for Power BI? Because I cannot seem to tag anything with "Power BI" here. Thanks in advance for your review and help.

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,947 questions
asked 2024-05-31T14:03:29.1766667+00:00
Bobby P 221 Reputation points
edited a comment 2024-05-31T20:07:00.3966667+00:00
Ms Nischal Lata 0 Reputation points
1 answer

Buffer Cache and Buffer Pool

Hi, What is the difference between Buffer Cache and Buffer Pool?

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,947 questions
asked 2024-05-31T14:24:27.79+00:00
Chaitanya Kiran 736 Reputation points
answered 2024-05-31T19:06:17.35+00:00
Olaf Helper 41,806 Reputation points