Microsoft Azure – Introduction to Cosmos DB – Part 1
Hello Friends, Please find the link of new post of about Introduction to Cosmos DB and how to create the...
2018-06-04
321 reads
Hello Friends, Please find the link of new post of about Introduction to Cosmos DB and how to create the...
2018-06-04
321 reads
Here we are again. The beginning of another month. At the beginning of each month I put out a SQL...
2018-06-04
243 reads
I recently accepted a job offer in another town and relocated from my base of Louisville, KY. I have not...
2018-06-04
279 reads
This coming weekend (9th of June) is SQL Saturday Cork!
I’ve been really looking forward to this SQL Sat as there’s...
2018-06-04
297 reads
This will be my first SQL Saturday ever both as speaker and attendee outside Portugal so I’m especially thrilled and excited to be part of it!
I will be presenting...
2018-06-04
13 reads
SQL Server Analysis Services (SAAS) serves a broader view of data for analysis so as to make things simpler for business analysts. Implementation of SAAS gives an opportunity to...
2018-06-02
33 reads
SQL Server Analysis Services (SAAS) serves a broader view of data for analysis so as to make things simpler for...
2018-06-02
1,603 reads
We’ve just opened up registration and the call for speakers for our 12th SQLSaturday here in Orlando. We did #1...
2018-06-01
657 reads
Microsoft Azure offers up a lot of technologies that you can play around with. One thing that you might not...
2018-06-01
273 reads
SQL Server has a number of settings set on a session that can influence the behaviour or queries. When debugging...
2018-06-01
229 reads
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...
By Steve Jones
Software is hard. While I love our Lucid Gravity, I realize that they are...
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