SQL Server – Login Failed, cannot open user default database
Each login in SQL Server has a default database associated with it. When you login to SQL Server context is...
2013-01-07
1,812 reads
Each login in SQL Server has a default database associated with it. When you login to SQL Server context is...
2013-01-07
1,812 reads
Have you seen this type of an informational message in your SQL errorlog before? If so, then I hope the...
2013-01-07
1,175 reads
If you’re over in the UK, or close to it, you’ve probably heard of SQL Bits even if you haven’t...
2013-01-07 (first published: 2013-01-03)
1,538 reads
Late in December, one the long awaited portions of functionality inside SSDT was released to an eager public, that being...
2013-01-07
1,764 reads
As a part of my series leading up to Christmas 2012, I shared a script to Report on SSRS Subscriptions. It was soon found to have a bug with...
2013-01-07
8 reads
As a part of my series leading up to Christmas 2012, I shared a script to Report on SSRS Subscriptions....
2013-01-07
1,872 reads
I ran down the rabbit hole on transaction logs recently. I started with Paul Randal’s post over at the SQL...
2013-01-07
1,189 reads
Day 6 of 31 Days of Disaster Recovery: Dealing With Corruption in Allocation Pages
31 Days of Disaster Recovery
Yesterday, I...
2013-01-06
1,631 reads
I’ve had the Nest Thermostat on my wish list for a while. It has looked like an interesting bit of...
2013-01-06
1,008 reads
I bet if you think about it there are lots of times when people ask what you think about a...
2013-01-05
860 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