Viewing 15 posts - 1,321 through 1,335 (of 59,061 total)
I probably should have stated my use case. It's not a traditional data warehouse but rather a tabular model on which PowerBI reports are built for analysis/business intelligence. My...
June 27, 2023 at 5:31 pm
I have to agree with Kimball. Never update a fact table. Only update the source of the data that the fact table was generated from and do the ETL thing...
June 26, 2023 at 7:44 pm
Scalar functions are still a big NoNO ! ( Inlining doesn't work on all SVFs !! ) Write your SVFs as InlineTableValueFunctions and things will perform again
To that end,...
June 24, 2023 at 8:08 pm
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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(),...
June 20, 2023 at 7:33 pm
Viewing 15 posts - 1,321 through 1,335 (of 59,061 total)