Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SP Performance Question
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01129964
Message ID:
01130411
Views:
17
Kirk,

I'm afraid these WITH queries you have are outside my area of expertise. Is the TOP 1 with no order by causing it to use the roomname index?

>When looking at the execution plan, it shows a index scan on coRooms.RoomName as is costing 41%, I'm assuming it is from this part of the query (really a subquery in the main query).
>
>The coRooms table as a clustered index on the the RoomID (PK), as well as a normal index on deptID and RoomName (seperate indexes).
>The meetings table as a nomral index on RoomID
>
>Any idea's how to get the query to perform a seek vice scan?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform