Studying for the 70-462 Exam: Database Mirroring
If we could take a picture of the HA solutions currently offered in SQL Server, database mirroring would be the...
2015-08-27 (first published: 2015-08-18)
2,403 reads
If we could take a picture of the HA solutions currently offered in SQL Server, database mirroring would be the...
2015-08-27 (first published: 2015-08-18)
2,403 reads
I recently had the opportunity to attend a three day Agile development workshop. At a very high level, Agile development...
2015-08-26
629 reads
Most database professional recognize they have a good career path, and mostly enjoy the work they do. It’s possible to cross the...
2015-08-11
4,662 reads
SQL Server has the ability to monitor both server and database level events via the SQL Server Audit feature. Audited...
2015-08-06 (first published: 2015-07-28)
3,479 reads
If you’ve been a DBA for more than a day, you probably have a pretty good idea of what a...
2015-08-04
9,439 reads
Your servers are either provisioned or racked, your sys admin has taken care of installing the Failover Clustering feature and...
2015-05-25
502 reads
I recently was involved in a discussion about whether or not to enable the ‘Optimize for Ad Hoc Workloads’ server...
2015-05-19
830 reads
Last week, I took the 70-461: Querying Microsoft SQL Server 2012 exam. I decided recently to try and achieve getting...
2015-05-12
803 reads
The run-time metric gets all the love, and for good reason. It’s easily witnessed by end users and the one...
2015-04-29
1,057 reads
Often, when DBAs are looking at total wait statistics on the servers they manage, CXPacket is at or near the top of...
2015-03-24 (first published: 2015-03-17)
7,469 reads
By Steve Jones
I use ConEmu for my terminal interface. I’m still on Windows 10 at home,...
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...
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...
Comments posted to this topic are about the item You Need a DBA Pipeline
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