[Table Designer] Support filter predicate and included columns for index (#1619)

This commit is contained in:
Hai Cao
2022-08-05 15:04:44 -07:00
committed by GitHub
parent 1342a8a085
commit a9fe77589d
8 changed files with 400 additions and 2 deletions

View File

@@ -4815,6 +4815,30 @@ The Query Processor estimates that implementing the following index could improv
<value>Is Ascending</value>
<comment></comment>
</data>
<data name="IndexIncludedColumnsGroupTitle" xml:space="preserve">
<value>Included Columns</value>
<comment></comment>
</data>
<data name="IndexIncludedColumnsPropertyDescription" xml:space="preserve">
<value>The included columns of the index</value>
<comment></comment>
</data>
<data name="IndexIncludedColumnsAddColumn" xml:space="preserve">
<value>Add Column</value>
<comment></comment>
</data>
<data name="IndexIncludedColumnsColumnPropertyName" xml:space="preserve">
<value>Column</value>
<comment></comment>
</data>
<data name="IndexFilterPredicatePropertyDescription" xml:space="preserve">
<value>Filter predicate of the index</value>
<comment></comment>
</data>
<data name="IndexFilterPredicatePropertyTitle" xml:space="preserve">
<value>Filter Predicate</value>
<comment></comment>
</data>
<data name="TableDesignerColumnsDisplayValueTitle" xml:space="preserve">
<value>Columns</value>
<comment></comment>
@@ -5146,4 +5170,22 @@ The Query Processor estimates that implementing the following index could improv
<value>There are multiple table definitions in the script, only the first table can be edited in the designer.</value>
<comment></comment>
</data>
<data name="ClusteredIndexCannotHaveIncludedColumnsRuleDescription" xml:space="preserve">
<value>Included columns are not supported for a clustered index.</value>
<comment></comment>
</data>
<data name="ClusteredIndexCannotHaveFilterPredicateRuleDescription" xml:space="preserve">
<value>Filter predicate is not supported for a clustered index.</value>
<comment></comment>
</data>
<data name="ColumnCanOnlyAppearOnceInIndexIncludedColumnsRuleDescription" xml:space="preserve">
<value>Column with name &apos;{0}&apos; has already been included to the index &apos;{1}&apos;. Row number: {2}.</value>
<comment>.
Parameters: 0 - columnName (string), 1 - indexName (string), 2 - rowNumber (int) </comment>
</data>
<data name="ColumnCannotDuplicateWitIndexKeyColumnsRuleDescription" xml:space="preserve">
<value>Included column with name &apos;{0}&apos; has already been part of the index &apos;{1}&apos; and it cannot be included. Row number: {2}.</value>
<comment>.
Parameters: 0 - columnName (string), 1 - indexName (string), 2 - rowNumber (int) </comment>
</data>
</root>