Moving TempDB Posted on SQLServerCentral.com
Moving Tempdb isn't a common operation, and mercifully a simple one if it comes to that. As in much of...
2008-08-04
307 reads
Moving Tempdb isn't a common operation, and mercifully a simple one if it comes to that. As in much of...
2008-08-04
307 reads
I'm probably in the minority, but I use an offline reader for consuming feeds. Nothing wrong with browser based readers other than that...
2008-08-04
256 reads
We've got two technical sessions scheduled for tomorrow night. The first is by long time oPASS member Dolores Tofel discussing...
2008-08-03
323 reads
SQLSaturday #5 in Olympia is progressing nicely. 85 registered, venue locked in, and work under way for fund raising via...
2008-08-01
565 reads
Maybe I haven't looked at the right products, but two years ago when we needed a VPN solution there wasn't...
2008-07-31
1,515 reads
Recently my friend Steve (managing editor of SSC) posted to his blog about The Bad Karma Project that has to...
2008-07-30
1,374 reads
Recently I was driving home and as I made that turn into the sub-division where I live, over the course...
2008-07-30
1,361 reads
Are you rebuilding statistics twice on your tables? Longtime expert, Andy Warren, shows why you might be asking more work of your SQL Server than is required.
2008-07-29
9,225 reads
Rebuilding Stats was published yesterday on SSC, some nice comments posted to it as well. The main point of the...
2008-07-29
1,482 reads
Not all of us work at companies big enough to justify the expense/time it takes to implement something like MS...
2008-07-29
1,452 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