Speaking at Greater New Orleans .Net User Group (GNO.NET)
This week I will speaking at the Greater New Orleans .Net User Group. My topic is Introduction to the SQL...
2010-07-12
690 reads
This week I will speaking at the Greater New Orleans .Net User Group. My topic is Introduction to the SQL...
2010-07-12
690 reads
Join SQL Server MVP, Patrick LeBlanc, next week on the SQL Lunch to learn about Share Datasets and Report Parts...
2010-07-09
1,562 reads
Join Brad Schacht this week on the SQL Lunch to learn about Looping in SSIS. Go to SQL Lunch and...
2010-07-07
611 reads
The next puzzle comes from a BIDN.com forum post. Here are the requirements:
Columns: Internet Order Quantity and Percentage Of Total...
2010-07-06
527 reads
MDX Puzzle #2 Solution
Download Script
This puzzle was a little more challenging than the first, but it was definitely fun and...
2010-07-06
1,063 reads
I received an email today stating that I had been selected as a Microsoft SQL Server MVP for 2010. This is my...
2010-07-01
734 reads
Now that we have our feet wet, let’s get started with the next puzzle. In this puzzle we will write...
2010-06-30
1,454 reads
This year at SQL Saturday #28 we will be featuring a User Group Booth alongside the Sponsor booths. The User Group...
2010-06-29
1,567 reads
OK, are you ready to start the MDX journey. In MDX Puzzle #1 posting I presented you with the challenge...
2010-06-28
899 reads
MDX Puzzle #1
Recently, I embarked on a mission to become proficient at writing MDX queries. This is a challenge, as...
2010-06-22
689 reads
By James Serra
Making Data AI-Ready, Part 3 (This is the final article in a three-part series...
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...
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