Viewing 15 posts - 571 through 585 (of 607 total)
Jared, do me a favour please. Find sp_spaceused and modify it. What do you think? Good code laid out badly.
March 19, 2012 at 2:37 pm
Eugene Elutin (3/19/2012)
Artoo22 (3/19/2012)
...Why doesn't Microsoft use T-SQL coding standards?
...
Microsoft wants to show by example, that not using coding standards, ends up with great "dog's breakfast" :hehe:
I wonder what...
March 19, 2012 at 6:46 am
SELECT*
FROM#t
WHEREDateCreated >= ISNULL(@FromDate, DateCreated)
ANDDateCreated <= ISNULL(@ThroughDate, DateCreated)
February 24, 2012 at 2:26 am
You probably have a non-clustered index on the one partition. Each index is represented in sys.partitions.
SELECT o.name
,p.partition_number
,p.index_id
,p.rows
FROM sys.objects o
JOINsys.partitions p
ON o.object_id = p.object_id
WHEREo.type = 'U';
February 9, 2012 at 1:42 am
mithubhudolia (1/27/2012)
please reply me of my question only .Thanks
How to win friends and influence people :w00t:
January 27, 2012 at 11:05 pm
Jack Corbett (1/26/2012)
January 27, 2012 at 2:06 am
I can change indexes, partitioning and data types.
I tried changing the clustered index on TBL_PROPERTY but that resulted in TBL_REQUESTVALUES_OBJECT_PROPERTY dealocking with itself.
January 26, 2012 at 5:34 am
fahey.jonathan (1/25/2012)
January 26, 2012 at 1:17 am
I also get a blank screen when clicking the link, but I can save to disk and they open fine.
Here are the statements:
UPDATETBL_PROPERTY
SETKIND_ID = 1234
,FK_STRUCTURED_ACTUAL_ID = 5678
,SPECIFICATION_ID = 910
WHEREID...
January 25, 2012 at 12:47 am
Thanks for everyones input, I'm hapy to leave it as is then. My tests were conducted on a test server.
November 4, 2011 at 4:00 am
GilaMonster (11/3/2011)
Not offhand.Second execution (so not incurring data caching), execution plan off when you pulled those IO and time stats?
Before running each one I issued DBCC FREEPROCCACHE & DBCC DROPCLEANBUFFERS.
I...
November 3, 2011 at 8:34 am
GilaMonster (11/3/2011)
120 000 reads for the seek vs 20 000 for the scan. Pretty clear why SQL chooses a scan here.
Totally makes sense. Do you have any thoughts as to...
November 3, 2011 at 6:58 am
This is the "normal" one using the CIX Scan
Table 'Products'. Scan count 1, logical reads 24452, physical reads 0, read-ahead reads 0
Table 'ObjectTypes'. Scan count 5, logical reads 134, physical...
November 3, 2011 at 6:53 am
anthony.green (11/3/2011)
Thanks Edward, totally appreciate that, I would of still expected SQL to come back with 4 and not 4.34
Those are expected results when working with INT values. The /...
November 3, 2011 at 4:47 am
ALZDBA (7/25/2011)
Can you also elaborate on the indexes and the stats for which you noticed the auto update ?(ddl / stats columns ?)
dbo.TBL_ACCOUNT
_WA_Sys_TYPE_ID_078C1F06
TYPE_ID, ID
CREATE NONCLUSTERED INDEX...
July 25, 2011 at 6:30 am
Viewing 15 posts - 571 through 585 (of 607 total)