What are the criteria for choosing a primary key in databases?

What are the criteria for choosing a primary key in databases?

Ideally, primary keys should be stable and single purpose. Stable means that a primary key should never change after it has been assigned to an entity. Single purpose means that a primary key attribute should have no purpose other than entity identification.


Tags: Database, Education, Software




Disclaimer:Pak/ed and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.  Disclaimer


Related

Home      Disclaimer      Advertise      Contact      Privacy Policy     

Copyright © 2004-16 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution