Viewing 15 posts - 376 through 390 (of 522 total)
I think the most benefit you will get out of a good archiving strategy that separates current data from old data.
Since old data is typically queried less often, the requirements...
June 2, 2008 at 12:13 pm
You could code up something like this (i assume exactly one of the params needs to be null):
IF (@CampaignID IS NOT NULL AND @Email IS NOT NULL)
OR @CampaignID IS NULL...
June 2, 2008 at 11:56 am
Wow, 65 times, and I thought I moved a lot with my 8 times... 😉
Hope you have found your peace in the area you live now 🙂
June 2, 2008 at 11:32 am
Well, I should have proposed that from the beginning, but have you already tried to run Tuning Advisor with your query?
Since your original question was not now to improve the...
June 2, 2008 at 10:35 am
I think this is one of the dilemmas with modern software. While software should increase productivity, it sometimes just degrades it because it is too complex, rapidly changing, or just...
June 1, 2008 at 1:49 pm
Hi ronnie,
the additional column probably doesnt provide much value (e.g 99 percent of the rows contain this specific value that is filtered for). But make sure the statistics on this...
June 1, 2008 at 10:57 am
Hi Ronnie,
Could you pls post the DDL for those?
If I am not completely wrong, the second index (xref1, objecttype) is not being used at all, only the first one. (The...
June 1, 2008 at 5:06 am
Despite what already has been mentioned, do you have some more information regarding your indexes and PKs?
June 1, 2008 at 4:02 am
I know it does not provide any value (as already pointed out, a lookup table should be used), but I get an overflow with 9712 WHEN cases.
I just had to...
May 31, 2008 at 2:20 pm
Just to provide an additional example:
SET NOCOUNT ON
DECLARE @table_index TABLE (fld_index tinyint NOT NULL)
INSERT @table_index VALUES(103)
INSERT @table_index VALUES(103)
INSERT @table_index VALUES(103)
INSERT @table_index VALUES(104)
INSERT @table_index VALUES(104)
INSERT @table_index VALUES(104)
INSERT @table_index VALUES(105)
INSERT @table_index VALUES(105)
INSERT...
May 31, 2008 at 1:31 pm
Hello David,
a good naming convention is a convention that everyone dealing with your objects follows.
I dont see any reason for not using your suggested prefixes. I use vw and usp,...
May 31, 2008 at 12:49 pm
I guess in 90% of all cases where table variables / temp tables are applied, there is probably a better solution available like:
- Rewriting the queries...
May 30, 2008 at 2:27 pm
I think these two QODs really show how evil implicit type conversions are.
Id rather spend this one second on explicit type conversion than on reviewing such code for possible data...
May 29, 2008 at 2:01 pm
I must hardly object!
I have seen poor quality in some of my projects in the past.
Your article doesnt fall under this category even if it might not be perfect...
May 29, 2008 at 1:16 am
Hm, tricky question.
It was not clear to me whether the author meant "pages" as units of 8kb or actual "data pages".
Interestingly enough, MS is returning the size of the Log...
May 28, 2008 at 12:53 am
Viewing 15 posts - 376 through 390 (of 522 total)