Viewing 15 posts - 916 through 930 (of 59,060 total)
To be honest, you need to challenge their design... this table is a HISTORY table! Why are they updating a HISTORY table? It should be an INSERT ONLY table that...
November 19, 2023 at 9:31 pm
You need to send an email to webmaster@sqlservercentral.com to get this fixed.
November 19, 2023 at 9:18 pm
You need to send an email to webmaster@sqlservercentral.com to get this fixed more expeditiously because they don't typically monitor this particular forum and I'm pretty sure they don't have actual...
November 19, 2023 at 9:16 pm
Thank you Jeff. 44.9% or 31%? Either way there's no implicit type conversion 🙂
Ken McKelvey's solution in the "Pivot with grouping intervals" topic is interesting. It cross join's a...
November 19, 2023 at 9:00 pm
You could test if the modulo .1 of HRS equals zero
;WITH cte_data AS (
SELECT CAST(50.10 AS numeric(5, 2)) AS HRS
...
November 18, 2023 at 9:32 pm
Nearly duplicate post with an incorrect improvement calculation removed.
November 18, 2023 at 9:31 pm
Very interesting to think of how differently this concept can be thought about 6 years later than it was originally published. Since then the fact that people use data...
November 16, 2023 at 12:17 am
Try installing the table valued function here: https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
Then to select 15 minute intervals as in your example:
SELECT Value
FROM dbo.DateRange('1900-01-01 00:00', '1900-01-01...
November 16, 2023 at 12:12 am
With all the automatic query tuning stuff they did in 2022, who knows how the optimizer estimates things now?
It'll be interesting if anyone shows up that actually knows.
November 14, 2023 at 3:41 am
It is joined on the Account numbers, which appears in the table multiple times. Problem is the Unique Primary Key is then mapped to these Account numbers multiple times.
So...
November 14, 2023 at 2:52 am
We "talked" on LinkedIn. I provided a link to "BULK INSERT" and introduced "BatchSize" and "Tablock" to you. You also found "Example f.", which is about how to do things...
November 13, 2023 at 4:13 pm
I have to admit, I'm totally amazed about the number of people that participate on the QoD and on Polls on linked in.
I'm also amazed at the number of wrong...
November 13, 2023 at 3:48 pm
This minor change (IIRC)...
BULK INSERT OSPRetail.dbo.DimProduct5
FROM 'C:\Users\User\Downloads\data feed.csv'
WITH ( FORMAT = 'CSV',
FIELDTERMINATOR = ',',
ROWTERMINATOR = 0X0A);
Also, read up a bit on the BULK INSERT and learn the...
November 13, 2023 at 2:53 am
Its managed SQL Server Business critical, with the latest version, and MS automated management of Log file.
The issue here is there is purge and archival of data creating lots...
November 10, 2023 at 1:00 pm
If it was included then yes. Sorry, this is a different data set I put together. But the idea, process, and everything about the data is very similar.
Please...
November 10, 2023 at 12:36 pm
Viewing 15 posts - 916 through 930 (of 59,060 total)