The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Hi all,

i want to know if i have to activate each index seperate in query ( iE: with (index(abc))) or if the sql server is intelligent enough to chose the correct/needed index by himself?

Thanks and regards, Sabrina

asked 20 Jul '15, 08:57

sabstar's gravatar image

sabstar
76449
accept rate: 0%

1

This forum is for questions about SQL Anywhere (not SQL Server!)... but if the question is about SQL Anywhere then my response is: Why would you want to do that? SQL Anywhere is fairly intelligent and it is best to let it decide what indexes to use.

(20 Jul '15, 09:00) Mark Culp

The key phrase in your question is "if i have to" rather than "how do I".

For SAP SQL Anywhere the answer is no.

For Microsoft SQL Server the answer is no.

permanent link

answered 20 Jul '15, 13:52

Breck%20Carter's gravatar image

Breck Carter
26.6k418576824
accept rate: 21%

edited 20 Jul '15, 13:53

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×25

question asked: 20 Jul '15, 08:57

question was seen: 176 times

last updated: 20 Jul '15, 13:53