0

Is there a way that a column in MYSQL table generate a formatted UID like :

DNR00001/16 DNR00002/16 DNR00003/16

Where :

'DNR' a varchar

'00001' is the varchar(5) of the auto-incremented id

'/' is a separator

'16' is the year

I got inspired by this topic

Thanks

Community
  • 1
  • 1

0 Answers0