Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is Product_ID Created?


devilj

Recommended Posts

Posted

products table via auto_increment

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Steve,

 

Thanks I checked this in phpMyAdmin. However, I noticed that Products_Description also creates a field called "products_id" using auto increment through I would suspect that these auto increments would be in-sync.

Posted

yes in the context of a query p.products_id is products table however pd._products_id is products_description table

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

  • 1 month later...
Posted

I think having auto-increment on both these tables is a little dangerous, the tables could get out of sync. I have a situation in one database where products table and products_description table are out of sync? What could cause it?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...