What Would I Do With a Week?
After my editorial this week on Coding By the Sea, my boss actually pinged me to say that I could...
2010-02-03
389 reads
After my editorial this week on Coding By the Sea, my boss actually pinged me to say that I could...
2010-02-03
389 reads
An interesting experiment at Red Gate, Coding By the Sea, produced results, and Steve Jones thinks this could be a great idea for other companies.
2010-02-02
174 reads
I guess you could look at this one of two ways. Either PASS acquired SQL Saturday, or we (Andy, Brian,...
2010-02-02
584 reads
Steve Jones talks a little about disk alignment for your SQL Server instances. This is something that you might to check on your systems and see if you can improve performance.
2010-02-01
146 reads
I had meant to check what was up with my Toshiba laptop since I was curious. I gave up last...
2010-02-01
336 reads
I talked a little recently in a blog about gaps in identity values. They can occur when you delete rows,...
2010-02-01
597 reads
With the release of an in-memory database from Sybase, is it time for SQL Server to join the fray?
2010-02-01
329 reads
One of the reasons that I did not vote for President Obama was his stance on our energy issues, specifically...
2010-02-01
328 reads
I saw a blog post from my friend Paul Randal recently in which he recounted the books he’d read in...
2010-01-31
1,768 reads
This Friday's poll deals with security. Steve Jones asks how often you might rotate those encryption keys to ensure that your systems are secure.
2010-01-29
161 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