Viewing 15 posts - 151 through 165 (of 2,645 total)
I would guess that it would give the same recommendation in your scenario of moving it to a local machine compressing the tables.
If you just run the query with the...
March 27, 2024 at 11:14 am
;with cte as
(
select FacultyID,
FacultyName,
...
March 26, 2024 at 4:55 pm
You could insert them all as text columns then run another SQL process to convert them to your required format into a different table.
March 25, 2024 at 2:18 pm
From ChatGPT:
Based on the provided XML deadlock graph, there are two victim processes (process4d93468
and process4cfdc28
) involved in the deadlock. The deadlock occurred between two DELETE operations on the dbo.Logs_Epass
...
March 25, 2024 at 12:29 pm
Sometimes, a rise in CPU usage may occur due to table fragmentation. It might be beneficial to consider rebuilding the clustered indexes on those tables to assess whether it will...
March 25, 2024 at 12:07 pm
One Select Query is always running against this database, that returns just 340 records. There are Joins in this Select query(is below) .
There aren't any joins in the query...
March 24, 2024 at 7:54 pm
Thank you Scott and Jonathan.
Hi Jonathan, question came into mind, if the batch size is specified as 1000 but assuming if the qualified rows based on where condition is...
March 21, 2024 at 12:46 pm
How to do the same in small batches to avoid blocking and lock escalations?
DECLARE @BatchSize INT = 1000; -- Adjust batch size as needed
DECLARE @RowsAffected INT...
March 20, 2024 at 9:32 pm
duplicate
March 20, 2024 at 9:32 pm
duplicate
March 20, 2024 at 9:31 pm
SELECT *
FROM TableA A
WHERE NOT EXISTS(SELECT *
...
March 20, 2024 at 7:12 pm
DROP TABLE IF EXISTS MemberDiagnosis;
go
-- Create the table
CREATE TABLE MemberDiagnosis (
MemberNbr INT,
dx VARCHAR(50),
dx2 VARCHAR(50),
...
March 20, 2024 at 2:36 pm
" If Table Scan (heap) does that exactly that, then what is the problem to use the index, which will actually be able to help finding those records quicker? Or...
March 20, 2024 at 9:26 am
Is there an explicit BEGIN TRANSACTION in the code with no COMMIT?
March 19, 2024 at 12:11 pm
MY_ADV.Pub.value('(reference_number)[1]','varchar(10)')
March 19, 2024 at 12:03 pm
Viewing 15 posts - 151 through 165 (of 2,645 total)