Viewing 15 posts - 3,826 through 3,840 (of 5,394 total)
Thanks for chiming in, Brandie.
What I find surprising, is the predicate "IS NOT NULL" using an index seek.
WTF???!??!
October 12, 2010 at 8:45 am
Hi folks, I'm really stuck on this one.
Can any of you jump in and clear the fog?
It's a strange thing IMHO, sure beyond my knowledge.
October 12, 2010 at 8:18 am
Well, I don't know what to say. I agree with you that the index gets used, that would make me think that IS NULL is SARGable.
It's not my definition, you...
October 12, 2010 at 7:41 am
I see the point you're trying to make, but "column IS NULL" is not a SARGable predicate.
The index CAN be used anyway, but this doesn't make the predicate SARGable.
Here's...
October 12, 2010 at 6:51 am
hallidayd (10/12/2010)
WHERE CARE_BOOKSERIES.Id IS NULL AND REVROLE_ROLEREVU_REVIEWERROLEID.NAME LIKE 'LE REVIEWER%'
For instance, these are one SARGable expression ( REVROLE_ROLEREVU_REVIEWERROLEID.NAME LIKE 'LE REVIEWER%') and a non-SARGable expression (CARE_BOOKSERIES.Id IS NULL ). If...
October 12, 2010 at 6:08 am
CASE expressions are non-SARGable: when possibile, avoid using them. Use SARGable expressions on properly indexed tables instead.
What do you mean with "Improve the performance"? Improve compared to what?
October 12, 2010 at 5:47 am
This is a great script I borrowed from Jeff Moden that should make things a lot clearer:
--===== "Space Used on Steroids"
-- If "UnusedKB" is negative, it's likely you need to...
October 11, 2010 at 10:24 am
You could insert the final results of your procedure into a temporary table (those prefixed with #) and then, based on a parameter, return the number of rows in the...
October 11, 2010 at 7:44 am
I'm not sure that I understand what you're after.
Can you attach the actual code (or a simplified version of if) so that I can try to tweak it?
October 11, 2010 at 6:57 am
I don't want to echo the response you've already had from other posters.
I just want to suggest that percentage growth is not generally a good idea. Imagine you set it...
October 11, 2010 at 6:55 am
You can capure @@ROWCOUNT right after the query execution and then return it as output parameter or as procedure return value (RETURN @myCountVar).
Hope this helps
Gianluca
October 11, 2010 at 6:39 am
You could create a backup device that points to the UNC path of the public server and then backup to that device.
October 11, 2010 at 3:51 am
naunton (10/11/2010)
when I run this for testing
select top 1 * into [linkserver1].dbname1.##test from table1
the message result show as below and it create...
October 11, 2010 at 3:46 am
Why don't you use Performance Data Collector?
From the description of your problem, there's the risk of re-inventing the wheel.
October 11, 2010 at 3:41 am
GilaMonster (10/11/2010)
Gianluca Sartori (10/11/2010)
If you still want to shrink it, you can run DBCC SHRINKFILE('yourLDFfileNameGoesHere', 0). This will shrink the LDF file at its minimum possible size.
Generally doing this is...
October 11, 2010 at 3:37 am
Viewing 15 posts - 3,826 through 3,840 (of 5,394 total)