I am working with some transactional data and having issues with my primary key field. When importing data from my order manager system and Google analytics, the OrderID field has the following two value formats:
123456
002-0130775-1483424
How do I format this field to be a primary key?
Thank you in advance for your help! 🙂
(Running MySQL 5.5.27)
Yes, keeping your primary key internal helps insulate you from change. Anything that could be exposed as data should be re-considered as a key.