How can I enforce to use particular index?

Answer Posted / saravakumar

You can use index hint (index=index_name) after the table
name. SELECT au_lname FROM authors (index=aunmind)

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sql server difficult to learn?

689


How do indexes help, types?

718


How to change the data type of an existing column with "alter table" statements in ms sql server?

730


How can we remove orphan records from a table?

724


What are the requirements to use odbc connections in php scripts?

808






Explain what is the main purpose of having conversation group?

699


What is the difference between DATETIME2 and DATETIME?

802


How do you start single user mode in clustered installations?

711


What is snapshot replication?

769


How to execute function in stored procedure sql server?

753


What are the essential components of sql server service broker?

761


What is difference between global temporary tables and local temporary tables?

879


What are the different types of upgrades that can be performed in sql server?

908


What are transactions and its controls?

796


How to get a list of columns in a view using "sys.columns" in ms sql server?

725