Viewing 15 posts - 1,036 through 1,050 (of 59,060 total)
Surely, someone has already done this (although I've not actually looked for such a thing). Wouldn't it be easier to find something that already works and buy it?
October 1, 2023 at 7:12 pm
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries...
October 1, 2023 at 6:47 pm
Thanks for the Response!
I will implement your suggestions.
after Upgradation we got above error (PREV Post) is below solutions will help us to resolve error.
Please Guide me on this.
If you...
October 1, 2023 at 6:40 pm
You appear to be missing "Product" for your sample data.
Ah, crud. My apologies. I didn't scroll down enough. You have a few rows with data in the "Product" column. I'm...
October 1, 2023 at 2:18 am
@alex (or anyone else that may be interested), since we're on the subject of "Week of the Month", here's some information and another function that might be of interest.
Note that...
September 30, 2023 at 8:22 pm
Yes thanks Jeff Moden I love it when I can tune into a forum and actually learn something new. Your expertise and your willingness to give it to others...
September 30, 2023 at 8:12 pm
SET DATEFIRST 6 ; -- Set first Day of Week to Saturday SELECT [CreateDateTime],DATEPART(WEEK,[CreateDateTime]) - DATEPART(WEEK,CAST(CAST(YEAR([CreateDateTime]) AS VARCHAR(4))+'-' + CAST(MONTH([CreateDateTime]) AS VARCHAR(2)) + '-01' AS DATETIME))+1 AS WeekNo FROM...
September 30, 2023 at 7:53 pm
I had to look up "corpuscles", for a moment I thought it was a new drink at starbucks.
Thank you all for taking the time and giving me your...
September 30, 2023 at 7:21 pm
Jeff, thanks for taking the time for that educated explanation. I learned a lot from it. I had to look up "corpuscles", for a moment I thought it was...
September 29, 2023 at 2:55 pm
Thank you for the feedback, Phil. I figured I'd make it "production" worthy because this isn't the first time we've seen this request.
September 29, 2023 at 2:13 pm
Just a caution...
The WEEK (ww) datepart is ALWAYS based on Sunday for DATEDIFF. MS did that to ensure that the DATEDIFF(wk) functionality will be "Deterministic" so that it can be...
September 29, 2023 at 7:06 am
SET DATEFIRST 6 ; -- Set first Day of Week to Saturday SELECT [CreateDateTime],DATEPART(WEEK,[CreateDateTime]) - DATEPART(WEEK,CAST(CAST(YEAR([CreateDateTime]) AS VARCHAR(4))+'-' + CAST(MONTH([CreateDateTime]) AS VARCHAR(2)) + '-01' AS DATETIME))+1 AS WeekNo FROM...
September 29, 2023 at 4:41 am
Hi
We have an stored procedure which runs frequently and it contain logic in which data are first dumped in temproray table and then moved to physical table .due to...
September 28, 2023 at 6:23 pm
Viewing 15 posts - 1,036 through 1,050 (of 59,060 total)