Viewing 15 posts - 1,066 through 1,080 (of 59,072 total)
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2023 at 2:55 pm
Sorry, duplicated post.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2023 at 2:49 pm
Sorry, duplicated post.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 29, 2023 at 2:39 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.
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2023 at 6:23 pm
It's real simple... have them prove that the performance is better with repeatable, demonstrative code. One good test is worth a thousand expert opinions and until they can prove it...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2023 at 7:19 am
If you want a load into a new table, then create the empty table AND create the Clustered Index. Then, forget SSIS... use BULK INSERT with the TABLOCK option and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2023 at 7:14 am
Viewing 15 posts - 1,066 through 1,080 (of 59,072 total)