Viewing 15 posts - 1,081 through 1,095 (of 59,091 total)
Just call it "P-cubed" or "P3" for "Proper Programming Practices" instead of all this Dev-this and Ops-that stuff.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2023 at 2:34 am
Heh... I was having too much fun with this post and thought that someone might take it too negatively, and so I deleted it.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2023 at 12:55 am
it is resolved
You should post your solution so that we can check it for you... a lot of people make a pretty bad error for things like this.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2023 at 8:05 pm
I'll also add that what looks to be the "3rd INSERT" is the only one that has non-sargable criteria in the Joins ...
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2023 at 7:57 pm
I cant get the actual plan but I will try it is executing for ever, especially its getting stuck at 3rd INSERT. But I am attaching the estimated plan.
You...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2023 at 7:26 pm
Based on your example this query uses the 'id' column to define the sort ordering of the running total. Generally it's not a good practice to order by an...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2023 at 7:21 pm
It isn't the ASCII function that's causing your error:
Try these statements:
SELECT ASCII('.');
SELECT ASCII(NULL);
SELECT ASCII(42);All of them return a valid value.
But these all cause the same error...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2023 at 7:18 pm
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?
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--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
Viewing 15 posts - 1,081 through 1,095 (of 59,091 total)