Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

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

accept rate: 0%


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
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 20 Jul '15, 08:57

question was seen: 1,771 times

last updated: 20 Jul '15, 13:53