Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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
76559
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
32.5k5417261050
accept rate: 20%

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:

×32

question asked: 20 Jul '15, 08:57

question was seen: 1,627 times

last updated: 20 Jul '15, 13:53