Auto generate varchar Ticket number via DB...

Posted by Rusty on Stack Overflow See other posts from Stack Overflow or by Rusty
Published on 2010-03-08T15:47:45Z Indexed on 2010/03/08 15:51 UTC
Read the original article Hit count: 276

Filed under:
|
|

Hello, I'm looking for suggestion on how to get the DB to auto generate Ticket numbers (preferably via the SQL DB) for a varchar column. I have the following tables in the DB: Activities & Cases and would prefer the format to be "Act000001" or "Cse000001". This would be something similar to the identity column property.

Any suggestion would be highly appreciated.

Thanks. Rusty

© Stack Overflow or respective owner

Related posts about sql

Related posts about Identity