Viewing 15 posts - 21,121 through 21,135 (of 26,490 total)
Yep, ran 3 seconds for me too, when I was asking for the Actual Execution Plan. If I turned that off, the query returned in less than a second.
May 7, 2009 at 9:16 am
Using Jack's query, try adding the following index and let us know what happens.
create index IX_tbllogs on #tbl_logs (
[fk_tbl_visits_id] asc,
[date] asc
)
include (
...
May 7, 2009 at 8:53 am
Rereading the posts, you were asking the wrong question, well actually you weren't asking the complete question. Please look at the following code as it more closely matches what...
May 7, 2009 at 8:41 am
jamiejulius (5/7/2009)
May 7, 2009 at 6:53 am
jamiejulius (5/7/2009)
May 7, 2009 at 6:33 am
... and then I really wanted to add "And I'm sure that during your undergraduate and graduate studies you had to know how to do independent research. This is...
May 7, 2009 at 6:28 am
May I also suggest you take the time to read about these things in Books On-Line. It is FULL of useful information that may answer many of your questions....
May 7, 2009 at 6:25 am
Looks like a permissions issue.
May 6, 2009 at 10:23 pm
And now it also works for an empty table. Just ran a test with the code here at home.
May 6, 2009 at 5:28 pm
And with that, Bruce, you can also remove the TOP 1 as shown below:
create table dbo.UserStats (UserID int);
insert into dbo.UserStats
select 1 union all select 2 union all select 3 union...
May 6, 2009 at 4:45 pm
The compression is being done on the fly, as it is being written to disk. The compression occurs in memory faster than the writes to disk, this results in...
May 6, 2009 at 4:40 pm
Good catch Bruce. I wasn't testing with enough values. Mind isn't quite on it at the moment.
May 6, 2009 at 4:29 pm
Florian Reischl (5/6/2009)
May 6, 2009 at 4:15 pm
Well, if you really want to know, I think you should read this The Flip Side.
It will give you a very good idea of why you should provide as much...
May 6, 2009 at 4:12 pm
Viewing 15 posts - 21,121 through 21,135 (of 26,490 total)