Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2017 - Administration |
Space is not getting freed up when deleting data from a log table. - Hi All, We are trying to delete data from a large 5TB log table. We are able to delete the data but that is not shown up in the free space nor released to OS. The table has ntext columns as well. Application stores some xml documents in this Log table. Want to know […] |
SQL 2012 - General |
ID increment problem (Sql Server 2012) - Good morning, I don't understand what's going on in my database all tables that have an auto-increment ID will stop auto-incrementing. and I have a message that the code exists. and to overcome this problem I have to delete the ID of the table and I recreate it so that it works Cordially |
SQL Server 2019 - Administration |
Error 500 when accessing SQL Server 2019 database - Need help! - I've recently set up a SQL Server 2019 database for a project I'm working on. The issue I'm encountering is that whenever I try to access the database, whether it's through my application or directly using SQL Server Management Studio, I'm getting an "Error 500" message. This error appears to be quite generic and doesn't […] |
Event ID 17806 - We have had SSPI errors across a dozen servers in an hour span. SQL error 17806 : Error code 0x8009030c – How to fix Per the above link : Stuck at the very first point... Cause of SQL error 17806 1.SQL Server engine account running with a Domain service account, and that account locked at […] |
disable seeding mode - hello , On one of our servers with 4 Replicas 2 synchronous and 2 asynchronous we see too many waits with the "VDI_CLIENT_WORKER" type almost 93% of the wait statst do you have to deactivate the seeding mode to minimize these times ? What do you think of this recommendation? |
SQLPackage Import Error - Hi After 1h the import fails with the error: Error SQL72014: Core Microsoft SqlClient Data Provider: Msg 155, Level 15, State 1, Line 3 'AUTO_DROP' is not a recognized CREATE STATISTICS option. SQL Server 2019: 15.0.4316.3 sqlpackage.exe: 162.0.52.1 May the sqlpackage is to new but I didn't find the one who fits exactly. Thanks for […] |
CPU Pressure. - Good morning! I'm seeing CPU pressure on my SQL VMs - 4 node cluster, 20 CPU Intel Xeon 2.2GHz, 128 GB RAM (100 max SQL server mem). SQL 2019 & Win 2016. The cluster is for Sharepoint 2019. I started with 95+ CPU & have stopped a large regular batch copy && some additional poorly […] |
SQL Server 2019 - Development |
Odd columns datatype precisions showing in SSMS View... - Okay... haven't posted in a long time and was hoping I'd have a better topic to share but... we're seeing issues when expanding the view columns in SSMS and it's showing the wrong precision. The view is pulling from underlying tables using DECIMAL(11,2) but the view shows the columns as DECIMAL(12,2) - what would cause […] |
SQL code help to get one row for each sequential entry - Hi, I am looking for a sql help to generate one row per each sequental door_area, for a given employee, based on the sample data that looks like this: Current Output: Desired Output: Here is my code to test for sample data. CREATE TABLE dbo.emp_seq ( emp_id int, product_code int, clock_in datetime, clock_out datetime, door_area […] |
Extract value before one symbol and stop after another one in SQL - Hello, I am trying to extract Event Name from a long string that has some information not relevant for what I am doing at the very moment. I basically need to extract everything after 2nd '_' and before 3rd '_'. So technically I need to get Bestseller and Promotion for the examples that I am […] |
Reporting Services |
Error Uploading RDL - I have reporting services 2016 and change url protocol from http to https, but if upload the rdl file I have error notification "Something went wrong. Please try again later." and cannot create a new data source with the same error message. Anyone can help? Thanks. |
Design Ideas and Questions |
Is it a good option to store monthly total in database? - I want to ask if it is a good idea to store monthly total values into SQL database for my application. I'm sorry but I have to ask again for the same project I asked some months ago, but for a different question. let me first explain the context : I have a legacy application […] |
SQL Server 2022 - Administration |
Having problems with SQL Server 2022 CU5 (docker ubuntu image) - is it ready? - Ubuntu image came from here - https://hub.docker.com/_/microsoft-mssql-server?tab=description DBCC is failing - "can not create database snapshots" syspolicy_purge_history is failing due to a missing PowerShell installation master.sys.dm_server_services - is not listing the engine at all while listing agent running? Can't enable SQL Server Agent Alerts - most likely due to master.dbo.sp_MSsetalertinfo and msdb.dbo.sp_set_sqlagent_properties usage of registry |
SQL Server 2022 - Development |
Searching in date field provides inconsistent results - I have been working with SQL Server for too many years to count and this is baffling; perhaps someone has a clue on the cause. I am running this on SQL Server 2022. I put together a simple function to return a primary key integer for a lookup table that has mileage rates that are […] |
How to get max date for each column in SQL Server - Hello All, I have a table where I am having data like below. Here my requirement is I need to get the device names which has the max sync date. So my output would be like below. Could any one please help how to write query for this Here is my data : create […] |