The 2012 Rally
In case you hadn’t heard, the 2012 SQL Rally will be in Dallas. Andy Warren talks about the process for...
2011-06-15
936 reads
In case you hadn’t heard, the 2012 SQL Rally will be in Dallas. Andy Warren talks about the process for...
2011-06-15
936 reads
Relation Types
create type type_T(i int primary key clustered, j int check (j > 0)) -- relation type. Includes constraints!
create table T(type_T)
Relvar Assignment
This...
2011-06-15
965 reads
I just noticed three very recent new TPC-E Benchmark Submissions that I thought were quite interesting. As I have written...
2011-06-15
942 reads
After posting on twitter last week that I needed something to write a blog post about my good friend Christian...
2011-06-15
684 reads
I haven’t tried this, but run across a reference to hashtagart that looks pretty interesting as a way to use...
2011-06-14
634 reads
Hi all! I’m on vacation this week, but I’ve cleverly scheduled this blog post so you won’t miss me too...
2011-06-14
635 reads
Wow, what a day 2! This was our first day of lecture and it was a doozy. Stacia and I...
2011-06-14
861 reads
Configurations in SSIS are a lovely tool that when implemented correctly can greatly reduce package maintenance. It is very possible...
2011-06-14
886 reads
I’m ashamed to admit that somehow this months T-SQL Tuesday has completely blindsided me, which is kind of ironic really when you consider...
2011-06-14
454 reads
/*
When you are having to extract just part of a string in TSQL, there are a number of techniques you...
2011-06-14
2,233 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