Viewing 15 posts - 3,076 through 3,090 (of 59,067 total)
The use of COUNT() OVER will make light work of this. It basically does what Phil says... provides a combination of COUNT with GROUP BY. You would use the PARTITION...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:36 pm
PS... my version of money and happiness...
"Money can't buy happiness, but it can buy you a sailboat big enough that you can sail right up next to it."
Old and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:30 pm
Have you already started on this? I'm asking because I see some red flags in some of the posts above but don't want to waste my time advising if...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:22 pm
Hi,
We have log backup job running daily 5 times. One time run is taking 4-5 times longer than the other runs daily. The backup size is same for all...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:16 pm
The best way to do this is monthly partitioning using either Partitioned TABLE or Partitioned VIEW technology. Not intending to sound the part of an iconoclast ,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:04 pm
I've found that changing datatypes in a Tally function really isn't necessary but that's a personal observation. Implicit conversions usually work just fine here. I've not personally ever run into...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 4:34 pm
Thanks, Jonathan.
A long time ago, it used to make quite a difference performance wise. Not so much on singleton big stuff like so many people test with but on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 4:46 am
Thanks, Scott. I appreciate it.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 4:37 am
WHY did you delete your original post? That's not very friendly.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 30, 2022 at 1:58 am
A book that addresses real issues is "Weapons of Math Destruction", by Cathy O'Neil. She talks about how AI algorithms build in unfair behavior, and usually in a way...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2022 at 8:48 pm
My first action would be to have someone check the CPU and I/O on the given application server. Then, check the code.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2022 at 7:55 pm
Hello and thanks for the response (for some reason I am not getting notifys).
I had another think and tried varous new ways to construct a search in Google and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2022 at 7:46 pm
The only way to do this with 100% accuracy is if there is an odometer reading present.
Is there an odometer reading in the data?
And, yeah... I agree with Zidar... I...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2022 at 7:43 pm
someone must have granted at least read to public ( for the tables ).
Either that or the user is a part of an AD User Group that has been...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2022 at 12:23 am
Just to confirm what happened here and according to the other thread on a similar subject, it's because someone designed the table with numeric dates as Jeremy pointed out in...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2022 at 12:22 am
Viewing 15 posts - 3,076 through 3,090 (of 59,067 total)