2016-06-13
1,234 reads
2016-06-13
1,234 reads
2016-06-10
108 reads
2016-06-10
1,370 reads
2016-06-09
87 reads
2016-06-09
1,464 reads
One of the things that is needed in quite a few functions is the object_id of a particular table/view/procedure/function in...
2016-06-08
1,159 reads
2016-06-08
1,075 reads
2016-06-07
122 reads
There’s a new conference in London next week, the InsideSQL conference on June 14th. It’s at the CodeNode venue, near...
2016-06-07
484 reads
I was writing a poorly performing UDF the other day and then wanted to replace it with a better performing...
2016-06-07 (first published: 2016-06-02)
1,746 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...
Comments posted to this topic are about the item Adding new column with DEFAULT
I've got a web application for my side business. I've added a SQL Server...
Comments posted to this topic are about the item Looking for New Blood
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