Viewing 15 posts - 1,726 through 1,740 (of 59,099 total)
Thanks, Jason. I have to tell you, you've made my month. I had no idea about that and I sometimes wonder to myself whether or not I accomplished my goal...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 10:17 pm
Here's the "formula" I've been using in production
FF
100 - Static or usually static.
99 - Usually, some form of ever-increasing keyed index that suffers no fragmentation, which also means no "ExpAnsive"...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 9:39 pm
Ya gotta be careful, though. If you do the index maintenance incorrectly, you could be setting up the index to do massive page splits which will cost you dearly in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 8:31 pm
If you want really good help, then see the article at the first link in my signature line below for one of many ways to provide example data in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 4:15 pm
Then pray that your data has no times in it because of the use of BETWEEN. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 4:13 pm
The biggest downside would be that your "temporary solution" will become permanent. You may also be in serious violation of the 3rd party license agreement if you take this kind...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 4:12 pm
Dear Friends,
Please advise why the Index rebuild and Update stats jobs on one server consume lots of disk space after they run..I have to manually shrink the data file...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 2:24 pm
Thank you both for the feedback and the very kind words.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 5:48 am
Heh... unfortunately, I know that problem all too well because some folks at...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2023 at 5:44 am
Keep it simple
DECLARE @sample TABLE
(
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 9:59 pm
Without having to look much at the code you posted, what is the unit value of the h.run_time column?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 9:57 pm
They do it in a lot of languages... I hate it when people number the bits differently than the exponent of "2". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 9:52 pm
Imo it depends on whether or not Approved is exactly equivalent to Taken. Could a user be officially approved and yet not take the day? If there's...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 9:44 pm
Serious "chicken dinner" there for performance, Jonathan... here are the stats from a test on a million rows of 16 hex digits (8 bytes)...
SQL Server Execution...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 9:12 pm
That's because bigint stores integers as Two's complement, negative numbers need 2^64 (18446744073709551616) added to them to represent the number as an unsigned int.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 8:52 pm
Viewing 15 posts - 1,726 through 1,740 (of 59,099 total)