Viewing 15 posts - 1,036 through 1,050 (of 59,066 total)
Heh... I was having too much fun with this post and thought that someone might take it too negatively, and so I deleted it.
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.
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 ...
...
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...
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...
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...
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?
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
Viewing 15 posts - 1,036 through 1,050 (of 59,066 total)