What are PK values and PK Columns?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
seodevhead
Forum Regular
Posts: 705
Joined: Sat Oct 08, 2005 8:18 pm
Location: Windermere, FL

What are PK values and PK Columns?

Post by seodevhead »

What are PK values and PK Columns?? I have looked everywhere and searched Google with no-luck. THnaks.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Primary Key. It's a database concept that allows the database to index things better. It should be a unique value for each record. It's often used in conjunction with auto_increment.
User avatar
seodevhead
Forum Regular
Posts: 705
Joined: Sat Oct 08, 2005 8:18 pm
Location: Windermere, FL

Post by seodevhead »

AHHHHHH.... PRIMARY KEY!!!! That makes perfect sense now... hehehe. Thanks onion!
Post Reply