Viewing 15 posts - 916 through 930 (of 59,066 total)
Although there is a solution provided to the OP that works, I have to ask what the original reason is for trying to build a string based GUID...
November 20, 2023 at 4:30 am
The worst schema I had to implement: A customer wanted us to reboot the server for patches on the first friday of the month around 1am.
How do you schedule...
November 20, 2023 at 1:53 am
Does the following backup strategy satisfy the RPO of 24 hours. these are SIMPLE recovery. no transaction
FULL every sunday at 12 am.
DIFF daily at 2am
Mostly but, personally, I wouldn't...
November 19, 2023 at 10:16 pm
Thank you Jeff,
I have been emailing them everyday since last week. Did not get any response, therefore started a thread here.
Any other email or person I can reach out...
November 19, 2023 at 10:04 pm
Although there is a solution provided to the OP that works, I have to ask what the original reason is for trying to build a string based GUID base on...
November 19, 2023 at 9:53 pm
If the clustered index has an ever increasing key and the inserts are following that key, you won't get page splits. If, however, the inserts are followed by "ExpAnsive" Updates,...
November 19, 2023 at 9:40 pm
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
Viewing 15 posts - 916 through 930 (of 59,066 total)