DBCC TraceOn – some processes are global.
Hi,
I was recently doing some testing as I thought that I’d experiment with the ghost clean up process.
I found that...
2011-04-13
2,658 reads
Hi,
I was recently doing some testing as I thought that I’d experiment with the ghost clean up process.
I found that...
2011-04-13
2,658 reads
Day 13 Other XML: Powershell support XML, as XML is a language which works great for windows, and it’s like...
2011-04-13
683 reads
In Day 12 of this series, we will be talking about AMD Opteron Processor Numbering. Advanced Micro Devices (AMD) has...
2011-04-12
759 reads
I failed.
There’s no other way to say it, but I’m not really disappointed or discouraged. I’m actually fairly upbeat about...
2011-04-12
1,206 reads
How I caused a fifteen minutes of blocking.
This particular incident happened when I joined this company. I joined this company...
2011-04-12
1,350 reads
Earlier today I read a blog post that compares consultants with corporate staff members. The author unashamedly compares consultants to...
2011-04-12
777 reads
Earlier today I read a blog post that compares consultants with corporate staff members. The author unashamedly compares consultants to...
2011-04-12
1,320 reads
There's an article that's making its way through the SQL Ranks: Consultants are pros, while corporate IT staff are minor...
2011-04-12
1,341 reads
There have been lots of blog posts about PASS SQLRally (Bing Search), but there haven’t been a lot recently from the organizers. As today (April 12th) is the last day...
2011-04-12
12 reads
There have been lots of blog posts about PASS SQLRally (Bing Search), but there haven’t been a lot recently from the...
2011-04-12
844 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