Adding a column to the primary key.
Every now and again you realize that the primary key for a table does not uniquely describe a row. Not...
2014-11-13
1,105 reads
Every now and again you realize that the primary key for a table does not uniquely describe a row. Not...
2014-11-13
1,105 reads
SQL Server Database Mirroring is fantastic HA solution developed by Microsoft. Microsoft lunch database mirroring with SQL Server 2005. Database...
2014-11-13
1,519 reads
Calculated measures are visually identifiable
If you have access to a cube, it’s quite easy to find all the calculated measures.
The...
2014-11-13
1,476 reads
By Steve Bolton
…………There are apparently many subtle variations on Z-Scores, a ubiquitous measure that is practically a cornerstone in the...
2014-11-13
2,570 reads
This post is mainly to test the syndication still works correctly from my heavily updated web/blog site so apologies for...
2014-11-12
152 reads
This post is mainly to test the syndication still works correctly from my heavily updated web/blog site so apologies for...
2014-11-12
422 reads
I recently blogged about how good I thought Trello was and shortly afterwards I found out that they did provide...
2014-11-12
308 reads
It has been a pretty long time since my last blog post but with good reason!
The last month and a...
2014-11-12
447 reads
This blog post digs into the details of shaping the data with Power Query and Power Pivot in order to...
2014-11-19 (first published: 2014-11-12)
8,121 reads
There are lots of little tricks that you can use to become more proficient, and efficient, at writing T-SQL. Here’s...
2014-11-12
1,053 reads
A RAG pipeline that answers questions in the demo is not the same thing...
By Steve Jones
“A multitude of bad ideas is necessary for one good idea” – from Excellent...
Yesterday I gave a talk for MSSQLTips called “Building a DBA Agent for Your...
Telp/Wa 62 821-8200-233 Jl. Raya Cilandak KKO No.9, RT.1/RW.5, Ragunan, Ps. Minggu, Kota Jakarta...
Telp/Wa 62 821-8200-203 Gedung Perkantoran Hijau Arkadia, Tower C - Ground Floor, unit C103,...
Telp/Wa 62 821-8200-174 Menara Karya, Jl. H. R. Rasuna Said Ground floor, RT.1/RW.2, Kuningan,...
Which number will the COUNT() return after executing the following statements:
DROP TABLE IF EXISTS #test; CREATE TABLE #test (id INT) INSERT INTO #test (id) SELECT * FROM GENERATE_SERIES(1, 3) AS gs ; ALTER TABLE #test ADD flag BIT CONSTRAINT DF_#test_flag DEFAULT 0; go UPDATE #test SET flag = 0 WHERE id = 1 UPDATE #test SET flag = 1 WHERE id = 2 INSERT INTO #test (id) VALUES (4) SELECT COUNT(*) FROM #test AS t WHERE flag = 0See possible answers