Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Indexes...

Author  Topic 

madseason
Starting Member

3 Posts

Posted - 2008-01-03 : 07:38:41
hello guys...im from chile so im not so well english writer.
my question is...if i have a table with 5 index and in a query based on a select statement im not declaring any index....sql would assume by default an index??...if yes, there´s an order to do so??...

THX!!!

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2008-01-03 : 07:49:14
1. In query, you can't declare index
2. SQL Engine would determine best indexes to be used for the query based on your SELECT statement
3. If you want SQL Engine to forcefully use some index, you can use hints.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

madseason
Starting Member

3 Posts

Posted - 2008-01-03 : 07:58:38
thanks a lot!!
Go to Top of Page
   

- Advertisement -