Viewing 12 posts - 1 through 13 (of 13 total)
Well, that's a shame. I'm pretty much restricted to operating this way for this need - but it matches up with the fact that I could find no prebuilt...
August 3, 2012 at 10:03 am
This was actually a hypothetical - I'm trying to get it right before I get that far down the road. The solution I eventually decided on was:
SELECT
t.*
FROM
dbo.[top] t
WHERE
EXISTS (SELECT...
August 14, 2011 at 8:45 pm
CREATE TABLE [dbo].[top](
[id] [int] NOT NULL
) ON [PRIMARY]
CREATE TABLE [dbo].[child1](
[number] [int] NOT NULL,
[t_id] [int] NOT NULL
) ON [PRIMARY]
CREATE TABLE [dbo].[child2](
[number] [int] NOT NULL,
[t_id] [int] NOT NULL
) ON [PRIMARY]
insert [top] (id)
select...
August 14, 2011 at 11:51 am
Lowell (6/24/2011)
at least you'd be able to answer better with some...
June 24, 2011 at 1:48 pm
Lowell (6/24/2011)
June 24, 2011 at 1:23 pm
Jayanth_Kurup (6/24/2011)
selects would show up if the time stamp of last index seek or scan are closer to today
Thanks, I didn't know that, but sounds like that doesn't help my...
June 24, 2011 at 1:13 pm
Lowell (6/24/2011)
you probably have a handful of datetime columns in the database that has a default of getdate(), that at least might get you inserted last time, but not select/accessed.
Sadly,...
June 24, 2011 at 1:11 pm
Jayanth_Kurup (6/24/2011)
June 24, 2011 at 1:08 pm
Lowell, unfortunately, I believe you are correct. I've already looked that blog entry while looking for answers, and this method is accurate only since the SQL Server was last...
June 24, 2011 at 1:04 pm
John Mitchell-245523 (6/8/2010)
I don't understand what you mean by "I usually get all records in the index" and "that fixed 2 of the 3 records that were table scanning". ...
June 8, 2010 at 11:04 am
Ninja's_RGR'us (6/8/2010)
What I understand is that 99.9% of the queries, the plan is an index seek. However with a couple cases you get...
June 8, 2010 at 11:02 am
Ninja's_RGR'us (6/8/2010)
Are those rows returning more data than the other correct cases?
How are...
June 8, 2010 at 11:00 am
Viewing 12 posts - 1 through 13 (of 13 total)