Viewing 15 posts - 5,026 through 5,040 (of 59,089 total)
He is not a member of sysadmin role.
He is in one group, but it has read only and that is it.
It must be something that carried over from the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:46 pm
What are you trying to do??? Get just the rows with the highest TotalDue for each BusinessEntityId ??? I so, just change the ASC in your ROW_NUMBER() to DESC and...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:42 pm
Hello ,
I have an SQL server installed in the 'Enterprise Evaluation Edition' the server has expired I have exceeded the 180evaluation day
and despite this overrun my instance continues to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:32 pm
You might want to take a look at the execution plan for that. With just the 9 rows of data the OP posted, it does 48 table scans...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:28 pm
Disregard my previous from this post if you end up seeing it in your email. I did some bad math. The 432 rows are completely necessary.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:27 pm
Here is an alternate version
With accountData
As (
Select Distinct
td.[Year]
...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:56 pm
Heh... ok. Been there and done that... That's how it always starts. 😀
The other thing is that someone that gets desperate for some code on something much larger, might end...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:46 pm
If you want help on this, and there are a large number of people that can help with this on this forum, you're going to have to provide more information...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:42 pm
Have a read of Jeff Moden's articles Cross Tabs and Pivots. They explain exactly how to achieve what you're after.
And the second article describes how to do it...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:34 pm
I "love" some of the ads I've seen... they start with needing only 2 years of experience but want a full stack developer that is also an expert at database...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:28 pm
You can create a DDL trigger that logs this information into a table.
This is actually the best idea (IMHO) unless you want to buy something to do it for...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:13 pm
After loaded to the cursor(BEGIN - Start Transaction) than there are other sp's used in the process before a final END. Thanks.
You posted the code that creates the cursor...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:07 pm
Again, you haven't ever done an actual logical design, have you? Genuine data modeling, with no indexes, etc.., where you went through a true normalization process.
Heh... more than you...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 7:46 pm
BWAAAA-HAAAA-HAAAA!!! Ok... I "get it". Yep... I agree... you never have to mention "IDENTITY" in a logical model. I have to tell you, though, that the idea of having a...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 6:15 pm
Heh... and why would anyone in their right mind think that's going to be any better. Notice I didn't put a question mark after that statement. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 5:24 pm
Viewing 15 posts - 5,026 through 5,040 (of 59,089 total)