creating a primary key format

Posted by ryn6 on Stack Overflow See other posts from Stack Overflow or by ryn6
Published on 2010-04-29T06:24:23Z Indexed on 2010/04/29 6:27 UTC
Read the original article Hit count: 337

Filed under:
|

how do i create a primary key for an account with a format like this:

ABC-123

ABC-124

ABC-125

another example:

BCA-111

BCA-112

BCA-113

and so on.

by the way im using mysql.is it possible to do auto increment when using this format?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about primarykey