Viewing 15 posts - 1,711 through 1,725 (of 59,082 total)
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
Post deleted... we may have found an even better way yet. I'll be back.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 8:47 pm
I tested Steve Munson's good code. After changing the input variable from 22 to 30 characters max (15 bytes hex), it works fine but it's a bit greedy on CPU. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2023 at 8:27 pm
Viewing 15 posts - 1,711 through 1,725 (of 59,082 total)