Viewing 15 posts - 961 through 975 (of 59,091 total)
Heh... pretty typical for things like this. The OP asks a question and then never participates in their own thread. While some great code has been posted, there are still...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 20, 2023 at 4:03 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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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,...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2023 at 9:31 pm
You need to send an email to webmaster@sqlservercentral.com to get this fixed.
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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
...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2023 at 9:32 pm
Nearly duplicate post with an incorrect improvement calculation removed.
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2023 at 12:12 am
Viewing 15 posts - 961 through 975 (of 59,091 total)