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)
35,094 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)
35,094 reads
2015-02-17
1,979 reads
2015-01-26
12,094 reads
When facing a problem you aren't sure you can solve, keep working on it and believe in yourself.
2014-07-08
258 reads
I inherited a database that was getting large and not performing well. After adding primary keys life got better.
2014-06-30
14,851 reads
2014-06-17
247 reads
When we focus on negative things we get more negative. Be thankful for something positive.
2014-06-10
189 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,537 reads
2012-12-19
2,254 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,966 reads
By ReviewMyDB
Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...
Note: This is more of a note to myself than an attempt to preach...
A practical guide to building an AI Center of Excellence, from choosing the right...
Comments posted to this topic are about the item Black Friday Gadgets
Comments posted to this topic are about the item Protecting Multi-Step Data Changes with...
Comments posted to this topic are about the item Switching Schema III
I run these queries:
SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerI get 25 as the result for dbo.beer and 1 for the result for etl.beer. Both tables have identical sructures and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beer go SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerWhat happens? See possible answers