Free SQL Server Training for the week of January 24, 2011
We're finally getting a handle on things with the new baby. π As a result, I've started this weekly accumulation of...
2011-01-21
841 reads
We're finally getting a handle on things with the new baby. π As a result, I've started this weekly accumulation of...
2011-01-21
841 reads
Yesterday we went over some loop constructs to get information out of SQL Server.Β While getting the information out is great, as Data Professionals our very next concern is...
2011-01-21
25 reads
Yesterday we went over some loop constructs to get information out of SQL Server.Β While getting the information out is...
2011-01-21
1,479 reads
One week ago today the Las Vegas User group held our monthly meeting. Β One week ago today, at that meeting, we had our best attendance in over a year....
2011-01-20
30 reads
One week ago today the Las Vegas User group held our monthly meeting. Β One week ago today, at that meeting,...
2011-01-20
517 reads
Yesterday, I wanted you to vote for some SQLRally sessions, mine included.Β Today, letβs vote for the sessions for the...
2011-01-20
618 reads
During my presentation at SQLSaturday 62 in Tampa I was asked by an attendee about having a policy to check...
2011-01-20
927 reads
A week or so ago Aaron Nelson (Blog|Twitter) put out a call for help on Twitter looking for anyone that...
2011-01-20
13,917 reads
I have been writing full or part-time for nearly 30 years, and I have written and edited hundreds of articles....
2011-01-20
1,368 reads
The object property function appears to be often overlooked.
This function will tell us about any schema scoped object in the...
2011-01-20
1,305 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