SQL Saturday Madison Preconference Sessions
The next location for my ‘Virtualization for SQL Server DBAs’ SQL Saturday preconference training session is Friday, March 28th, in...
2014-02-13
772 reads
The next location for my ‘Virtualization for SQL Server DBAs’ SQL Saturday preconference training session is Friday, March 28th, in...
2014-02-13
772 reads
This past weekend I made the journey to Cleveland, OH (Westlake, actually) for SQL Saturday #241. I’ve attended two local SQL Saturdays in the past (helping organize/run one), but seeing...
2014-02-13
11 reads
With more and more features being added to the SQL Server I started thinking that its friendship with MS Access...
2014-02-13
2,189 reads
Problem: You require the ability to perform a repeatable standardised installation of multiple instances of SQL Server or the ability...
2014-02-13
45,543 reads
Question : Can we do system configuration check with starting SQL Server installation? One of my friend need to submit it...
2014-02-13
3,377 reads
DBAs are the gatekeepers, but if we make it an unpleasant process then people will find a way around the...
2014-02-13
501 reads
Transactions are great tools that every DBA and developer should learn how to use. Unfortunately not everything can be put...
2014-02-13 (first published: 2014-02-05)
4,566 reads
It’s a truism that we should choose the right tool for the job. Everyone says that. And who can disagree?...
2014-02-13
518 reads
To lower IT operational costs and/or to become more agile, the business must simplify the processes to deliver and manage...
2014-02-13
249 reads
In this series I’m going to detail the 5 T-SQL Commands that review in my 5 T-SQL Commands I’ve been...
2014-02-12
533 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