SQL University: Home-Grown, with Real Options!
There's the light, as this is the last class for Security week at SQL University. From the scenarios we specified...
2011-02-11
1,617 reads
There's the light, as this is the last class for Security week at SQL University. From the scenarios we specified...
2011-02-11
1,617 reads
Driving to the User Group
This past Wednesday I took a drive down to the Iowa SQL Server Users Group meeting. ...
2011-02-11
484 reads
Last night’s Oregon SQL user
group meeting was very enlightening. Mark Simms form the SQLCAT team came
down from Redmond to talk...
2011-02-11
1,091 reads
I used to think naively that IIF is an innocent little function that can only do good and help me...
2011-02-11
3,125 reads
Next week, I’ll be making a swing through central Colorado on a working vacation of sorts. I met up with...
2011-02-11
535 reads
One Windows setting that I think is extremely important for SQL Server usage is the “Perform volume maintenance tasks” right,...
2011-02-11
1,789 reads
One of the things I’m most proud of at our company is our team.You can see some of our team...
2011-02-11
712 reads
I received notification earlier this week that my session “ETL Head-To-Head: T-SQL vs. SSIS” was selected by community vote for...
2011-02-10
571 reads
31 Days of SSIS
Last month, I published the 31 Days of SSIS blog series. As a conclusion to that series,...
2011-02-10
785 reads
This next week I’m launching a series of posts centered around how you could be a part of the leading...
2011-02-10
621 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