there are indexes available for each columns. for ex: indx1 on col1 and indx2 on col2. is it possible to create again a composite index indx3 by combining col1 and col2? col1 and col2 are used in the where condition. will indx3 is in effect?
Adding index to the column already having an index
33 Views Asked by Sabarmathi Natarajan At
1
There are 1 best solutions below
Related Questions in SYBASE-ASA
- SUM() OVER PARTITION BY - Invalid use of Aggregate Function
- sqlanydb query on damaged SQL Anywhere table disconnects connection, produces OperationalError (Communication Error -85)
- adaptive server anywhere 8 registry settings
- Execute sybase stored procedure as linked server procedure sql server 2008
- How should i keep track of the delete operations in database without using triggers?
- How to collect column headers and data using dbisqlc.exe command
- SQL Anywhere 12 Problem with sentence CREATE DOMAIN
- SQl Output to CSV WITHOUT single Quotes
- How to export data with Arabic characters
- Adding index to the column already having an index
- Sybase ASA 9 Trigger after insert get new row
- Is there a table which lists invalid triggers?
- Gui Tool for Adaptive Server Anywhere v7.0 (sql anywhere?)
- How to use Microsoft Unity in such case?
- Decode information from Sybase transaction log file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, the query optimizer will look for the best matching index. If you include
col1andcol2in a composite index and query (where) for those two fields it will use this index.You should also consider throwing away the index on
col1because the composite index can be used for queries oncol1too. It depends on the sequence of the columns in the composite index: the first column can queried without the second one.