Part Numbers in mysql table for web cart?

shopping cart systems
luvv2rock asked:


I am working on a database for a shopping cart system I’m building. I’ve built several in the past however I have a delima this time. Some of my parts (about 1000) have the same part number. In the inventory system it is stored as a line number then part number and I’m thinking of doing the same for my database (ie ORE, 92-621) what should I use for my id? Should I just have an auto ID or does it really matter?
Ok so I’m sure now to have a unique ID. But how can I do this? If i put an autonum ID for each part will I be able to update ID where partnum is parttype so that I update the correct ID?

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG

You must be logged in to post a comment.