Viewing 15 posts - 121 through 135 (of 514 total)
using the following;
;WITH table1(col1) AS (
SELECT objects.[object_id] FROM sys.objects
)
SELECT DISTINCT TOP(2000) Table1.col1,Table2.col1,Table3.col1
FROM table1,table1 TABLE2,table1 table3
ORDER BY table3.col1
-- option(force order)
The above comes back in 151ms
after...
March 7, 2008 at 2:44 pm
It says you need the trace enabled for hotfix. Not sure about CU4
Using the SQL I posted earlier, I see the "No Join Predicate". I add the option(force...
March 7, 2008 at 2:31 pm
I have CU4 on all my systems, so I can't test this.
However as I read it, even though you have a valid join, it may interpret it wrong resulting in...
March 7, 2008 at 2:12 pm
sntiwary (3/5/2008)
SELECT DISTINCT TOP 200 Table1.col1,Table2.col1,Table3.col1 FROM Table1(NOLOCK), Table1(NOLOCK), Table1(NOLOCK) WHERE and order...
March 7, 2008 at 1:48 pm
Then from the performance dashboard, you can drill down to what you want.
It makes the DM views much more accessible.
March 7, 2008 at 1:19 pm
Depends on the market that you are in. Obviously things are tighter now than they have been in the past, so I wouldn't suggest making a jump at the...
March 7, 2008 at 8:37 am
Wow was that a lot to read. I haven't been active for a while, but it's been a while since we heard from the OP.
I'll respond to a couple...
March 6, 2008 at 9:11 am
Jeff Moden (3/6/2008)
March 6, 2008 at 8:54 am
-- There is obviously a TZ issue here. This was posted after the next 2... Sorry if it gets confusing.
On the contrary - when dealing with large data sets,...
March 6, 2008 at 7:36 am
The more I look at this, there is almost nothing that you are going to be able to do to help this query. The only suggestion I have for...
March 5, 2008 at 1:55 pm
Have you looked at the explain plan, statistics, Memory usage, etc.
Actually have you looked at the performance of the machine? This isn't the most complex query I have ever...
March 5, 2008 at 1:47 pm
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Obvious you still didn't read that. Not only are we trying to help you, but also to help others.
I do appreciate letting us know that it worked, but it...
February 27, 2008 at 2:23 pm
However, this will NOT change references in stored procedures, triggers and functions that reference the old schema.
Understand this was by design. The whole idea behind schemas was to eliminate...
February 26, 2008 at 7:58 am
You can't rename the schema as far as I know, but if you have 2 schemas you can move objects from one to the other.
Assuming two schemas testing and testing2
CREATE...
February 26, 2008 at 7:56 am
smitavarma (2/22/2008)
set C1=CASE WHEN exists(select saleid
from T1
...
February 25, 2008 at 1:56 pm
Viewing 15 posts - 121 through 135 (of 514 total)