Impact Players – SQL Style
Awhile back I did a post on my Fab Five – was one of my favorite ones I’ve done to date...
2015-01-12
441 reads
Awhile back I did a post on my Fab Five – was one of my favorite ones I’ve done to date...
2015-01-12
441 reads
Hello Friends,
With a New Year and my earlier commitments. Below is the way to configure Search Service 2013 in Scale...
2015-01-12
900 reads
I have been working with SQL Server for the past 17 years, and in the past few years I have...
2015-01-12
642 reads
Over the years I’ve done a number of posts on various aspects of security. In fact the first thing I...
2015-01-12
536 reads
By David Postlethwaite
I have been chosen to speak at SQL Saturday in Vienna, Austria on 28th February.
The organisers have just...
2015-01-12
477 reads
T-SQL Random Numbers using RAND()
SQL Server includes the T-SQL RAND() function to create a random value between 0 and 1...
2015-01-12
1,390 reads
As is our want, we must look back over the past year to see what happened. While I normally focus...
2015-01-11
631 reads
I have dedicated much more time to reading in the past 6 weeks (Since the beginning of December 2014), and...
2015-01-11
484 reads
In part 1 of the In-memory OLTP articles we gave you an introduction into In-memory OLTP, showing what the requirements...
2015-01-11
4,211 reads
SQL Saturday NYC Planning is in going well and we are now getting ready to finalize our precons as 2...
2015-01-09
470 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...
ALAMAT : Jl. Raya Tumpang No.1, Ledoksari, Tumpang, Kec. Tumpang, Kabupaten Malang, Jawa Timur...
ALAMAT : Jl. Jend. Yani Jl.Pahlawan No.99, Ardirejo, Kepanjen, Kec. Kepanjen, Kabupaten Malang, Jawa...
Comments posted to this topic are about the item Adding new column with DEFAULT
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