Query backup history
As a quick script tip for today I’ll show you a script I use regularly for reporting purposes.
It shows you the...
2014-06-13
420 reads
As a quick script tip for today I’ll show you a script I use regularly for reporting purposes.
It shows you the...
2014-06-13
420 reads
As a quick script tip for today I'll show you a script I use regularly for reporting purposes.
It shows you the...
2014-06-13
18,115 reads
In a previous article we looked at CXPACKET waits, a wait type that is can be on the top of your...
2014-06-06
742 reads
In a previous article we looked at CXPACKET waits, a wait type that is can be on the top of...
2014-06-06
11,512 reads
One of the easiest ways to increase query performance on your database is making sure your statistics are up-to-date. Statistics...
2014-05-16
458 reads
One of the easiest ways to increase query performance on your database is making sure your statistics are up-to-date. Statistics...
2014-05-21 (first published: 2014-05-16)
6,364 reads
One of the most common wait types you will see on a SQL Server is the CXPACKET wait type.
This wait...
2014-04-04
535 reads
One of the most common wait types you will see on a SQL Server is the CXPACKET wait type.
This...
2014-04-09 (first published: 2014-04-04)
4,824 reads
There is one thing we all have in common, and a lot of us probably don’t even realize it, baselines!
While...
2014-03-21
711 reads
There is one thing we all have in common, and a lot of us probably don’t even realize it, baselines!
...
2014-03-27 (first published: 2014-03-21)
2,528 reads
Creating a Fabric workspace takes about 30 seconds. Restructuring workspaces after people have built...
By Steve Jones
It’s a small change, but a handy one. Flyway Desktop (FWD) now includes the...
By Steve Jones
Software is hard. While I love our Lucid Gravity, I realize that they are...
IMAP to Office 365 migration is an important step for organizations that want to...
Comments posted to this topic are about the item Adding new column with DEFAULT...
Comments posted to this topic are about the item Advanced Deployment Scenarios: Stairway to...
Which number did the two COUNT(*) return:
DROP TABLE IF EXISTS #tmp CREATE TABLE #tmp (id INT NOT NULL) INSERT INTO #tmp (id) SELECT gs.value FROM GENERATE_SERIES(1, 5) AS gs ALTER TABLE #tmp ADD my_value INT NOT NULL CONSTRAINT df_tmp_my_value DEFAULT 1 SELECT COUNT(*) FROM #tmp AS t WHERE my_value = 1 ALTER TABLE #tmp DROP CONSTRAINT df_tmp_my_value ALTER TABLE #tmp ADD CONSTRAINT df_tmp_my_value DEFAULT 2 FOR my_value SELECT COUNT(*) FROM #tmp AS t WHERE my_value = 1See possible answers