What Should PASS Be?
Andy Warren posted a question the other day (well, issued a challenge actually), “What Should PASS Be?” I’ll let you...
2011-02-22
715 reads
Andy Warren posted a question the other day (well, issued a challenge actually), “What Should PASS Be?” I’ll let you...
2011-02-22
715 reads
Wirefly is a website devoted to purchasing cell phones and plans. I found it when I was researching my Droid...
2011-02-22
857 reads
We have big news for SQL Saturday #67 Chicago. There is going be a pre-con on Friday 3/25 at the Hampton Inn right around the corner from the SQL...
2011-02-22
39 reads
We have big news for SQL Saturday #67 Chicago. There is going be a pre-con on Friday 3/25 at the...
2011-02-22
950 reads
I take the MCM test on Friday. I’ve been watching videos and reading white papers and blogs for the last...
2011-02-22
1,362 reads
One character. That’s all it takes; just one character in a Transact-SQL query can make the difference between an index seek and an index scan. Transact-SQL is easy to learn....
2011-02-22
11 reads
One character. That’s all it takes; just one character in a Transact-SQL query can make the difference between an index seek...
2011-02-22
813 reads
Sonny Bryans Smokehouse Bbq would make an interesting classroom
Today was the first day of my first SQLskills event. The event...
2011-02-22
447 reads
My introductory text to SQL Server, appropriately titled Introduction to SQL Server, is now in print and available for sale. The...
2011-02-22
958 reads
Earlier in the month I shared with you 10 Things That Every DBA Should Do and so it only seems natural...
2011-02-22
3,617 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