Viewing 15 posts - 3,616 through 3,630 (of 59,098 total)
My two favorite questions are becoming...
Is there a reason why this MUST be done in PowerShell?
Is there a reason why this MUST be done in Python?
The answer both...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2022 at 5:23 pm
Hi Jeff - just checking to see if you got a chance to test it.
Ok. I don't actually have any mirrored databases anywhere but I tested this the best...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2022 at 4:18 am
Advantages of pre-allocation: Queries don't die when you suddenly run out of room in the middle of a transaction. No need to wait for file growth. No risk of...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 10:26 pm
Step 1 would be to stop using REORGANIZE unless you actually know what it does on each and every index you have and, to be brutally honest, most people don't. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 10:11 pm
Thank you. What will happen if the backup verify fail in one of the database? It will start again taking the backup or just tell us the verify option...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 9:42 pm
I am thinking about the negative consequences of provisioning free space drastically high.
2. Restoring to the test...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 9:22 pm
Thanks. That was awesome. Told me a lot.
Random GUIDs are GOOD... But not like THAT!
First and as a bit of a sidebar, you good folks have done yourselves a pretty...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 7:22 pm
Maybe do the P*Q for the lowest priced fruits, sort that way, then do a running total. Filter for running total less than your threshold?
Spot on early suggestion, Piet!
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 3:00 am
Thanks Jeff, well spotted, I totally missed it.
The first time I looked at it, SO DID I. 😀
Again, nice use of the "Relational Multiplication" method! I'm still thinking about...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 2:59 am
Jonathan AC Roberts solved this problem very nicely using the fnTally() function to due the "Relational Multiplication of Rows". If we tweak his good code just a little bit, it...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 2:33 am
;with cte as
(
select sum(t.price) over (order by t.price asc, v.N) RunningTotal, *
from #TEMP1 t
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 12:51 am
I may have something wrong with my understanding of the problem but, according to the values you've provided, there is no combination of fruits in case #1 where you...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 12:21 am
I may have something wrong with my understanding of the problem but, according to the values you've provided, there is no combination of fruits in case #1 where you can...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 12:13 am
Hello,
I'm trying to get the first and last dates of all the months based on the current year.
1/1/2022
1/31/2022
2/1/2022
2/28/2022
3/1/2022
3/31/2022
Any help would be greatly appreciated. Thank you in advance!
You've got multiple...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 22, 2022 at 11:51 pm
It’s not “scripting” that makes mistakes easier... The real problem is "urgency of an issue". The same can happen when deploying code of any type. You covered what the real...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 22, 2022 at 3:37 pm
Viewing 15 posts - 3,616 through 3,630 (of 59,098 total)