Viewing 15 posts - 346 through 360 (of 2,648 total)
You are attempting to compute the result of raising 78.94 to the power of 365, which evaluates to approximately 3.27E+692.
This value exceeds the maximum representable number in the float data...
June 29, 2023 at 9:08 pm
DROP TABLE IF EXISTS #label ;
-- Create the table
CREATE TABLE #label
(
plot int,
)
-- Populate the table with sample data
INSERT INTO #label(plot)
VALUES (1), (2),...
June 28, 2023 at 9:46 am
About 25 minutes right now. We have about 10 stars right now and growing. I expect to have another 5 by next month.
25 minutes is quite fast for a...
June 28, 2023 at 7:07 am
How do I execute what is printed?
You can copy it to the clipboard and execute it by pasting into a query window and pressing F5.
But my suggestion was really...
June 28, 2023 at 7:04 am
How long does a full load of the DW take?
June 27, 2023 at 11:57 pm
I think you might want something like this:
WITH CTE AS
(
SELECT s.DocumentId,
ROW_NUMBER() OVER...
June 27, 2023 at 11:53 pm
Instead of EXEC(@query)
try PRINT @query
Then try to execute what is printed.
June 27, 2023 at 11:41 pm
If it's feasible you could do a Full Update, you would update the original record on the source database with the new data first. This way, your fact table always...
June 27, 2023 at 11:36 pm
Jeffrey not exactly. Query should check Voucher Num. If it has GL Posted then take 'GL Posted'. If it doesn't have 'GL Posted' take 'GL Accrual Reversed' and 'GL...
June 26, 2023 at 10:20 pm
SELECT *
FROM final_output fo
WHERE [G/L Transaction Type Desc] = 'GL Posted'
OR ([G/L Transaction Type Desc] <> 'GL Posted'
...
June 26, 2023 at 9:02 pm
DELETE fo
FROM final_output fo
WHERE EXISTS(SELECT 1
FROM final_output fo2
...
June 26, 2023 at 8:01 pm
I have developed two additional versions of the function and incorporated Microsoft's GENERATE_SEQUENCE in a test script.
The code for dbo.GENERATE_SEQUENCE is provided in the script article. It is written as...
June 26, 2023 at 12:49 pm
The measurements for the code above includes the table allocation as well as the WHILE loop and the final SELECT? In the code above the STATISTICS TIME, IO only...
June 23, 2023 at 5:34 pm
Another interesting thing is that you simulated the manual process of crossing out numbers on paper by deleting them.
It's a bloody shame that the use of GENERATE_SERIES() defeats minimal...
June 22, 2023 at 12:10 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 of ticking...
June 21, 2023 at 2:45 pm
Viewing 15 posts - 346 through 360 (of 2,648 total)