Cumulative sum of previous rows
I had an update statement that took 3 minutes to run after this code change it took 6 seconds.
2015-03-27 (first published: 2014-05-08)
33,905 reads
I had an update statement that took 3 minutes to run after this code change it took 6 seconds.
2015-03-27 (first published: 2014-05-08)
33,905 reads
2015-02-17
1,941 reads
2015-01-26
12,046 reads
When facing a problem you aren't sure you can solve, keep working on it and believe in yourself.
2014-07-08
228 reads
I inherited a database that was getting large and not performing well. After adding primary keys life got better.
2014-06-30
14,663 reads
2014-06-17
220 reads
When we focus on negative things we get more negative. Be thankful for something positive.
2014-06-10
164 reads
Some people set their default database to the database they use most often. This can cause issues when a restore fails.
2013-11-14
7,499 reads
2012-12-19
2,241 reads
Ben Kubicek wrote a recursive function that solves simple math expressions in a select statement. Read about this creative use of T-SQL.
2011-11-21
5,909 reads
No Scooby-Doo story is complete without footprints leading to a hidden passage. In SQL...
By James Serra
A bunch of new features for Microsoft Fabric were announced at the Microsoft Fabric Community...
By Steve Jones
I saw an article recently about implicit transactions and coincidentally, I had a friend...
We’re running SQL Server 2019 with database compatibility level 150, and after recent tuning...
Comments posted to this topic are about the item Changing the Recovery Time
Comments posted to this topic are about the item Getting More Time from AI
I want to change the recovery time for a database running on SQL Server 2022. What are my options for setting the value in my ALTER DATABASE statement. If I run this code, what can I use in place of the xxx to define what 12 means?
ALTER DATABASE Finance SET TARGET_RECOVERY_TIME = 12 xxx;See possible answers