just need a little advice...again

Codes here !

Moderators: egami, macek, gesf

Post Reply
faust
New php-forum User
New php-forum User
Posts: 109
Joined: Thu May 03, 2012 7:22 am

Sat Jun 23, 2012 8:38 am

Hey guys, I was just curious. I know that you should always have a unique field in your tables but should you always have a auto increment field? Like id or something? Because if you for example, have table 'products' with catalog codes, each code will be unique, so you actually don't need the auto inc field, right? Just looking for best practices :)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest