Skip to content
WJunction - Webmaster Forum

Primary key

Status
Not open for further replies.
The PRIMARY KEY attribute is used to guarantee uniqueness for a given row. No values residing in a column designated as a primary key are repeatable or nullable within that column. It’s quite common to assign the AUTO_INCREMENT attribute to a column designated as a primary key, because this column doesn’t necessarily have to bear any relation to the row data, other than acting as its unique identifier.
 

3 comments

I am also unsure.
It is from the book "Beginning PHP and PostgreSQL 8: From Novice to Professional" by W Jason Gilmore, Robert H. Treat.
 
Status
Not open for further replies.

About the author

chinmay
Banned · Joined
17
Messages
0
Reactions
1
Points

Tags

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom