Sometimes Cheaper Makes Sense / Mastering the Basics Always Does
It’s good to remember that the ideas and challenges of mastering a craft – any craft – have been around a while....
2014-02-20
656 reads
It’s good to remember that the ideas and challenges of mastering a craft – any craft – have been around a while....
2014-02-20
656 reads
We have 2 different SQL Servers which both have a copy of the AdventureWorks2012 database in Full recovery mode.
One of...
2014-02-20
678 reads
I don’t like the MERGE statement. The syntax is weird, it’s tricky in terms of locks, and it has a...
2014-02-20
4,406 reads
In his new book “101 Whiskies to Try Before you Die” whisky expert Ian Buxton poses the fun challenge of...
2014-02-20
718 reads
When I try to attach mdf file I got following error below.
Solution:
There are multiple solutions to this
1 1. Move .mdf and .ldf to SQLServer install directory Data folder...
2014-02-20
63 reads
The guys at Overland Journal know how to adventure, and adventure well. Their magazines can be found both on coffee...
2014-02-20
906 reads
We have 2 different SQL Servers which both have a copy of the AdventureWorks2012 database in Full recovery mode.
One...
2014-02-20
4,979 reads
I feel like an old man opening a computer for the first time but I’ve finally signed up on twitter....
2014-02-20
512 reads
I met up for lunch with a good friend and former coworker today, and among the topics of discussion was...
2014-02-19
856 reads
Here is an alphabetical list of online mathematics books, textbooks, monographs, lecture notes, and other mathematics related documents freely available...
2014-02-19
614 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