Viewing 15 posts - 1,366 through 1,380 (of 59,082 total)
I only have select permission on this table. This is a third party vendor database and I cannot update/delete/insert or create procedure/functions in this database. I am getting the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2023 at 3:38 am
--======================================================================================================
-- Create and populate the test table. This is not a part of the solution.
--======================================================================================================
--===== Create the test table.
DROP...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2023 at 4:33 pm
I write functions as an "ISF", a term that MS created a very long time ago in some now extinct documentation because they never created an "Inline Scalar Function". As...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2023 at 3:50 pm
I'm thinking that you need to be more clear on the job description that you use to hire people... a LOT more clear. For more than just...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2023 at 11:58 pm
Well, here is a new one.
While reviewing design standards with a set of contract developers we pointed out that any object needs to be qualified with the schema of...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2023 at 7:20 pm
@ Jonathan,
Sorry... My previous post above was referring to the 10 million row run prior to your additional (@Start*@Start) optimization. I have to try your new optimization. I didn't look...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2023 at 3:26 pm
p.s. I just tested the results of Jonathan's code against a 3rd party generator and it passed.
Jonathan's code takes about 39 seconds for a max value of 10 million without...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2023 at 12:13 am
That's pretty amazing. Now someone just needs to verify that it's actually producing the correct results using a brute force method.
It's basically a primes sieve, but instead...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2023 at 11:42 pm
Remember that deletes affect all indexes (except maybe filtered indexes) and causes a check for every FK pointing at the table. There's some silly wide tables at one of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2023 at 2:08 pm
That's pretty amazing. Now someone just needs to verify that it's actually producing the correct results using a brute force method.
Also, I've not looked into it, is there a link...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2023 at 2:02 pm
A far better way, IMHO, is to write a good SELECT in a stored procedure. 😉
What's the old saying? "Just because you can do it in Python, doesn't mean you...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2023 at 12:40 am
If they are implementing things like shift-left and shift-right maybe they should also implement unsigned integers.
It's coming... According to the way they handled things like GENERATE_SERIES(),...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2023 at 7:33 pm
@steve-2 Collins,
Sorry... I tried your latest code on a max value of "just" 1 million. I stopped it at 2 hours and 8 minutes.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2023 at 7:30 pm
If they are implementing things like shift-left and shift-right maybe they should also implement unsigned integers.
It's coming... According to the way they handled things like GENERATE_SERIES(), etc, it should...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2023 at 5:08 pm
Ok... I'm a little gobsmacked... I ran your code with zero changes and it's riddled with syntax errors and,yet, it ran without error.
What is the following supposed to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2023 at 3:57 pm
Viewing 15 posts - 1,366 through 1,380 (of 59,082 total)