What are the advantages, disadvantages of using an AutoNumber rather creating a multi-field primary key when there is no obvious field which, by itself, uniquely identifies a record?
depends what you want to do.
an auto number is not, in a sense, a primary key since the database itself creates the autonumber by incrementing on a stored variable. because of this, it does not prevent duplication of records. however using a unique identifier within the data that is input you can prevent duplication.
if you are looking to prevent duplication of data use your own primary key or combination primary key
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.