Debugging query timeouts with X-Events – part 1
I like hunting. Not the kind where you are walking around the forrest and trying to find a target. No,...
2012-03-10
2,128 reads
I like hunting. Not the kind where you are walking around the forrest and trying to find a target. No,...
2012-03-10
2,128 reads
If you attended my SQL Server Auditing course held for the SC Midlands Chapter of ISACA, I finally was able...
2012-03-09
1,334 reads
For a guy that was looking to not travel much, it seems that I’ve got way more on my plate...
2012-03-09
1,021 reads
The nested loop is a physical operator used to join 2 or more sets of data when the query optimizer...
2012-03-09
1,372 reads
First, only support Women in Technology if you want to. It’s an idea that appeals to some, but not to...
2012-03-09
963 reads
Power View is installed when you run the SQL Server 2012 install and on the Feature Selection page choose “Reporting...
2012-03-09
3,122 reads
Welcome to the Friday Re-Blog summary post. The aim of these posts is to bring some old posts that newer readers may...
2012-03-09
618 reads
The buzz started yesterday, with the rumblings about Database Mirroring showing up on the "Features Not Supported in a Future...
2012-03-09
931 reads
Welcome to another week of SQL Roundup. Just in case you missed, SQL Server 2012 was released this week and...
2012-03-09
748 reads
As you might know, Microsoft has released on March 7 the RTM version of SQL Server
2012. If you are an...
2012-03-09
4,519 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...
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