Article Of the Week
I really enjoy reading technical articles. They often enlighten me on new technologies or provide me with a new way...
2009-08-24
955 reads
I really enjoy reading technical articles. They often enlighten me on new technologies or provide me with a new way...
2009-08-24
955 reads
WARNING: This may be very obvious to most of you. However, several people that I have encountered did not realize...
2009-08-21
37,282 reads
Well we had a really good meeting this week at our User Group. There were about 17 physical attendees and...
2009-08-19
865 reads
Recently I have been involved in lots of projects involving replication. I have done some things to make replication work...
2009-08-17
1,285 reads
Well I spent most of this past Saturday upgrading my Laptop to Windows 7 Ultimate, which I have to say...
2009-08-13
756 reads
One of my clients called saying they were receiving the following error when trying to access a database: "Error 952...
2009-08-12
7,061 reads
Reminder: The Baton Rouge Area SQL Server User Group will be broadcasting its user group via live meeting. If you...
2009-08-12
459 reads
You know, I believe the old saying, “If you don’t use it you will lose it”. Well, I write a...
2009-08-10
82,513 reads
Well I just finished reviewing the evaluations for my presentation, Introduction to SQL Profiler, which I gave at the Baton...
2009-08-07
497 reads
A couple of weeks ago one of our developers sent me an email saying, “I have a query that returns...
2009-08-07
4,383 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