SQL Community - The Site
A friend sent me a link to www.sqlcommunity.com and I think I'd list it. So far doesn't seem impressive, but...
2008-01-06
517 reads
A friend sent me a link to www.sqlcommunity.com and I think I'd list it. So far doesn't seem impressive, but...
2008-01-06
517 reads
Steve finally got the bugs worked out of the recent blog software upgrade and RSS should be available again. Note...
2008-01-03
459 reads
Just a reminder to anyone in the Tampa area, or willing to travel, that the call for speakers for the...
2008-01-03
240 reads
Most SQL Server DBAs have been taught that cursors are bad and should not be used. However there are some cases and places where they might be useful. SQL Server guru Andy Warren brings us an example of where they may be handy.
2008-01-03 (first published: 2007-01-15)
16,925 reads
Just saw that Bayer posted a note confirming that he is a 2008 MVP. I met Bayer a couple years...
2008-01-02
189 reads
Steve is a 2008 SQL Server MVP. Well deserved, I can think of few people more visible in the community...
2008-01-01
645 reads
Google has - and continues - to do some amazing things. It's easy to be awed by their products and their infrastructure,...
2008-01-01
464 reads
In working on an existing database, DBAs often look to normalize tables and correct obvious flaws in design. Recently Andy Warren was working on a consulting project and realized that defaults would prevent many issues.
2007-12-28 (first published: 2007-01-04)
7,199 reads
I purchased The Exceptional Presenter recently as part of my professional development spending. I currently work primarily as a trainer...
2007-12-27
1,503 reads
I don't have a URL handy for it, but in the latest print issue of PC Mag they announced changing...
2007-12-26
1,403 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