{"title":"Properties for table keys","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-key-properties/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-key-properties, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-key-properties","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Review the AL properties that control table keys and SQL indexes in Dynamics 365 Business Central, with links to details for each property.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Properties for table keys","slug":"properties-for-table-keys","at":0,"chars":1681},{"level":2,"title":"Related information","slug":"related-information","at":1551,"chars":130}],"text":"# Properties for table keys\nTable keys have properties that control their behavior and the corresponding indexes in SQL Server.\n> NOTE\n> This article may not include all properties for this object. To see a complete list of properties, use the table of contents from Properties Overview<https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/includes/..\\properties\\devenv-properties>. In Visual Studio Code, use Ctrl+Space to see the properties available for the object and its controls.\nProperty|Description\ndevenv-clustered-property|Specifies whether the key defines the clustered index for the table.\ndevenv-description-property|Specifies a description for the key.\ndevenv-enabled-property|Specifies whether the system maintains indexes for the key.\ndevenv-includedfields-property|Specifies non-key fields to include in the SQL index.\ndevenv-maintainsiftindex-property|Specifies whether SQL Server maintains indexed views for the key's SumIndexFields.\ndevenv-maintainsqlindex-property|Specifies whether SQL Server creates an index for the key.\ndevenv-obsoletereason-property|Explains why the key is obsolete.\ndevenv-obsoletestate-property|Specifies whether the key is obsolete.\ndevenv-obsoletetag-property|Specifies the version in which the key became obsolete.\ndevenv-sqlindex-property|Specifies the fields and field order of the corresponding SQL Server index.\ndevenv-sumindexfields-property|Specifies the fields for which the system maintains a SumIndex.\ndevenv-unique-property|Specifies whether key values must be unique.\n## Related information\n../devenv-table-keys\nTable and table extension properties<devenv-table-property-overview>\ndevenv-properties"}