Viewing 4 posts - 1 through 4 (of 4 total)
Thank you so much for the explanation!
February 26, 2013 at 5:39 pm
DDL w/ index
USE [MaxF]
GO
/****** Object: Table [dbo].[Visits] Script Date: 02/22/2013 17:25:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Visits](
[id] [bigint] NOT NULL,
[Date] [smalldatetime] NULL,
[SiID] [int]...
February 22, 2013 at 4:32 pm
Recap:
Query 1 has in the WHERE clause: "QueryID=@QID". As we can see from the statistics Query 1 does a ton more logical reads for the subqueries contain in the full...
February 22, 2013 at 3:22 pm
Jeff, you are right. The second should take longer, but actually the 1st query takes MUCH longer in this case. I just don't understand why in this case.
Here are...
February 15, 2013 at 7:58 pm
Viewing 4 posts - 1 through 4 (of 4 total)