When creating a primary key for a table, aswell as having it set as the primary key and auto-increment, is it good practice to also define it as being unique and being an indexing field?
By definition, a primary key column is a unique indexed column. Setting those attributes by hand would be redundant. Want the best answers? Ask the best questions:
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.