English

FAQ: Can a definition query be applied to a table without an ObjectID or primary key field?

Question

Can a definition query be applied to a table without an ObjectID or primary key field?

Answer

An ObjectID or primary key field is required to perform any selection of features or records in the map. A definition query is a form of selection, and therefore cannot be conducted without the presence of a unique identifier, like a primary key field or an auto-number field.

For additional information and suggestions on how to create an ObjectID field in tables that have none, review the Help documentation in the Related Information below.

Related Information