Viewing 15 posts - 1 through 15 (of 31 total)
If the db is incrementally near real time loaded, the reports are not ad-hoc or are slowly changing and the reporting performance is important; there is an argument for non-clustered...
September 23, 2008 at 10:10 pm
Wanted to see what the difference aggregating by scalar functions was to see how it would perform based on a native datetime so I ran
PRINT '=============== "Normal"...
August 20, 2008 at 10:00 pm
Greg.Gum (8/12/2008)[Snip]
CLR Recursion SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 5 ms.
any chance of querying the cost column in the sys.dm_clr_appdomains
before...
August 12, 2008 at 6:25 pm
I was surprised to see the implementation of CTE recursion (in 2005 at least) performed similarly too inbuilt functions for small string lengths (read napkin test of up to 400)...
August 11, 2008 at 1:49 am
From someone that is asked to support add hoc reports generated on an EAV it is a difficult exercise to convince end users why certain types of reports are fine...
August 7, 2008 at 8:42 pm
pduplessis (5/29/2008)
[snip]...
Firstly,...
June 1, 2008 at 7:10 pm
Surveys are Frequently collected for statistics.
Bit mask seems like a poor choice. You'd force the query plan to scan the bitmask field to look for all surveys that answered question...
May 21, 2008 at 11:29 pm
In an ideal world consistent solutions for all instances consistent with a problem type while the technology is static.
Only problems aren't consistent and technology is always changing.
They are not the...
May 21, 2008 at 10:29 pm
Consistancy aids in the quality of readability. But it is not all qualities.
There is a point when any template for a solution is used commonly enough that it should...
May 20, 2008 at 6:16 pm
Software Quality and consistency is notoriously hard to measure.
An Elegant solution has risks that a solution that follows the path of least surprises does not.
It is worth...
May 18, 2008 at 7:36 pm
larry (5/9/2008)
There's one thing to be aware of - the database ALWAYS access the row by primary key, even if it doesn't have one.
In Sql server a table with...
May 11, 2008 at 6:05 pm
INMHO the confusion comes from the clustered index term in SQL Server.
In other DBMS's for example DB2 there is no concept of a primary clustered index because the primary key...
May 9, 2008 at 2:10 am
I would be hesitant about deleting duplicates in the same statement that finds them. If the table was non trivial size (ie. you didnt want to hand list the...
April 20, 2008 at 4:33 pm
Are you sure you don't mean
INSERT INTO phonebook SELECT
[phonenumber],
[firstname] ,
[lastname] ,
[company]
FROM #tmp
DROP TABLE #Tmp
at the end
April 18, 2008 at 12:22 am
Viewing 15 posts - 1 through 15 (of 31 total)