I have this database structure
CREATE TABLE `productinfo` ( `ProductID` int(11) NOT NULL AUTO_INCREMENT, `ProductName` varchar(255) NOT NULL, `ProductImage` varchar(255) NOT NULL, `CategoryID` int(11) NOT NULL, `SubCategoryID` int(11) NOT NULL, `ProductBrief` varchar(255) NOT NULL, `Features` text NOT NULL, `Specifications` text NOT NULL, `Reviews` text NOT NULL, `Price` varchar(255) NOT NULL, `Status` tinyint(4) NOT NULL, PRIMARY KEY (`ProductID`) ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; I now I need to turn ProductID, CategoryID, and SubCategoryID into a string like Ps-5678 for the part number. ProductID is the primary key so how do i change the structure of the database. CategoryID, and SubCategoryID are primary keys in other tables so how do i handle this..is it as easy as turning
`ProductID` int(11) NOT NULL AUTO_INCREMENT into a string..and getting rid of
PRIMARY KEY (`ProductID`) ideas, suggestions anyone