2011-09-06 (first published: 2011-08-13)
1,983 reads
2011-09-06 (first published: 2011-08-13)
1,983 reads
2011-09-05 (first published: 2007-01-25)
3,975 reads
This function returns the difference between the date in text format
2011-09-01 (first published: 2011-08-30)
1,056 reads
2011-08-31 (first published: 2011-08-24)
2,562 reads
Lists all the tables in a database that do not contain any LOB columns(text, ntext, image, varchar (max), nvarchar (max), varbinary (max) and xml).
Useful when rebuilding indexes online.
2011-08-30 (first published: 2011-08-25)
763 reads
Output table of gaps in a primary key across multiple databases on same, remote and/or linked servers.
2011-08-29 (first published: 2011-08-12)
958 reads
2011-08-24 (first published: 2011-08-12)
1,172 reads
A query tem o objetivo de consultar o status do usuario AD via Management Studio.
2011-08-22
414 reads
Script tem o objetivo de encontrar login com a role SysAdmin e informar seu status.
2011-08-22
226 reads
2011-08-18 (first published: 2011-08-04)
1,127 reads
By ReviewMyDB
My T-SQL Tuesday #202 entry for Marlon Ribunal's invitation on memorable SQL Server outages....
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...
Hello everyone, Last week we performed an upgrade of our SQL Server instance, moving...
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...
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