I searched on creating non clustered index with included columns for sybase database. But I don't think "include" is allowed while creating index. Is there any equivalent in sybase?
1 Answer
No. Sybase doesn't have any equivalent to the INCLUDE
statement.
-
So there is no concept of having included columns in non clustered index in sybase? Thanks for answer Simon– DeltaMar 21, 2012 at 13:28
-
No, the equivalent would be just to have all the columns in the index, even the ones that aren't being searched/filtered on. Bit of a waste of space, but since it only affects internal (non-leaf nodes) of the B-tree index (and it's only useful on some indexes, not all), I can't see it being a high priority feature to be added. Mar 21, 2012 at 20:29