Viewing 15 posts - 6,991 through 7,005 (of 59,072 total)
Steve, great article. Thanks for taking the time to write it up, work out the nice simple demo's and post it all. Well done!
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2020 at 7:06 pm
Aha! Great article, and I can immediately see a use case for having unique numbers even across different tables, where both tables get the number generated by the same...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2020 at 7:05 pm
Labor Day probably makes sense. Easier to put this out there and then change later, than keep extending it.
No update from RG, but quite a few people are thinking...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2020 at 6:03 pm
This is based on your language setting.
SELECT top 10
*
FROM sys.syslanguages
There is a datefirst column here. If you change the language, you change this.
Apart from...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2020 at 5:29 am
Rather than using DBCC SHOWCONTIG, use sys.dm_db_index_physical_stats. The row header information is included as a part of the Min, Avg, and Max row sizes.
I'd still like to know why someone...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 29, 2020 at 8:17 pm
Since you're new, let me explain what Phil means by directing you to the first link in my signature line below. It helps others help you both a lot better...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 29, 2020 at 5:56 pm
My objective is to find out the space occupied by each record in a table ...
To what end? What will such information be used for? I ask because the...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 29, 2020 at 3:07 pm
The method that Phil posted is known as a "CROSSTAB" and was the way we did pivots long before the PIVOT operator became available. CROSSTABs are also generally faster than...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 28, 2020 at 5:57 pm
Sounds like a plan... especially the part about validation before deletion. Thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 28, 2020 at 5:53 pm
I'd say that DW in the Cloud is on the rise and is probably a safe bet.
That, notwithstanding, ask yourself what your passion is (not to mention the finances of...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 28, 2020 at 5:47 pm
I've been living with similarly named databases that have different suffixes based on the environment for a very long time. I say "living"... what I really mean is "enforcing". We...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 28, 2020 at 5:38 pm
What does the print statement yield?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2020 at 2:56 pm
Today I have a peformance issue where setting legacy cardinality estimator ON helps.
From 100s to 1 sec. Really interesting.
Heh... that's not just "help"... that's a freakin' miracle and we...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2020 at 1:45 pm
Why not write a query that finds all enabled jobs, makes a list (table of them), and then disable all jobs except for that critical one you're talking about?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2020 at 3:12 am
I think this will be a bit more safe... details are in the comments in the code
WITH cteEnumerate AS
(--==== Number each set of rows in descending...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 27, 2020 at 2:20 am
Viewing 15 posts - 6,991 through 7,005 (of 59,072 total)