Viewing 15 posts - 1 through 15 (of 17 total)
-- Find the first non-empty partition ready for switch
SELECT @firstpartition = MIN(p.partition_number)
FROM sys.partitions p
JOIN sys.tables t ON t.object_id = p.object_id
WHERE t.name = 'table_name'
AND p.rows > 0;
--Switch
SET @CMD = N'ALTER TABLE...
October 14, 2024 at 5:56 pm
Does it has to be Certification only? Can you use it in some other training? If it is for your education
July 15, 2022 at 11:00 am
Take a look at Adam Machanic sP-whosisactive will show who is doing what (save it to table)
January 19, 2021 at 2:43 pm
have you tried this,
SELECT name, log_reuse_wait_desc
FROM sys.DATABASES
December 1, 2020 at 9:17 pm
Take a look at Columnstore indexes (https://docs.microsoft.com/en-us/sql/relational-databases/indexes/columnstore-indexes-overview?view=sql-server-ver15)
July 28, 2020 at 1:03 pm
Get well soon and send those puzzles of yours!!
July 7, 2020 at 3:42 pm
Replication will allow you to go only two version UP or DOWN
March 5, 2020 at 2:04 pm
You can use this as an alternative, DBCC CheckDB PHYSICAL_ONLY; it is a limited check but doesn't use that much TempDb
January 21, 2020 at 4:52 pm
Check BrentOzar (First Responder Kit) and Adam Mechanic (SpWho2Active) tools, you can run those and save the result to tables that will give you some idea
October 9, 2019 at 12:00 pm
To be more specific you can change the properties of the replicated object,
Open replication in SSMS and select Properties and select Articles and will bring you to this
August 8, 2019 at 11:49 am
To be exact to what Micheal mentioned you can use Test-DbaLastBackup it has all the requirements you specified
June 27, 2019 at 1:13 pm
June 6, 2019 at 12:17 pm
dbatools could help too
May 10, 2019 at 12:48 pm
I also missed the question posted by users it was well organized
April 9, 2019 at 1:11 pm
You can have temporary relief if you want by creating an agent job
1. find out the max_elapsed_time when you have bad performance --- X
2. just write a simple...
February 13, 2019 at 7:01 am
Viewing 15 posts - 1 through 15 (of 17 total)