Viewing 15 posts - 301 through 315 (of 2,610 total)
DECLARE @YearKey int,
@WeekKey int, @CA4 int,
@PrevMonthCheck int= -1,
...
July 1, 2023 at 5:02 pm
You are getting the new error because ProjectedValue / StartValue is less than 1 (3.22/4.079).
When you raise this to a number greater than 1 (182.5) you get a number very...
June 30, 2023 at 9:53 pm
The overflow occurs because the exponent in the POWER function is extremely large due to the short time span and high growth rate.
The formula isn't designed to handle cases of...
June 30, 2023 at 8:53 pm
The expressions you mentioned, such as BETWEEN, EXISTS, IN, LIKE, <, >, =, and others, are often referred to as operators or comparison operators rather than predicates.
In logic, predicates typically...
June 29, 2023 at 10:05 pm
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
Viewing 15 posts - 301 through 315 (of 2,610 total)