Is it possible to add a letter or some other character in front of an incrementing field?
|July 7, 2014||Posted by forumadmin under TechQns||
What I would like to do is have my primary key field (or another field as long as it accepts auto incrementing) auto increment with a letter in front of it. For example:
I would like to be able to make pk equal A1,A2,A3 in one table, and if i choose, B1, B2,B3 in another table. Is this possible with django? mysql? The field doesn’t have to be the primary key field as long as it auto increments. Please let me know.
|Asked By – user3806832||Read Answers|