|
Hello
I have a web application (php/mySQL) that has an auto-increment primary key field called job_id.
Could anyone help me add a prefix to this?
I want to add the year and month (YYMM/) in front of the field (e.g. 0811/1234 then 0811/1235 – assuming current month and year is Nov 2008).
Maybe I’m wrong about adding the prefix to the primary key. Should I maybe add an additional field to maintain this?
Any advice greatly appreciated...
Regards
Paul
Last edited by 69me; 11-16-2008 at 04:28 PM..
|