Tom: Auto Increment

Beitrag lesen

Hallo,

es geht um MySQL. Kennt jemand einen Möglichkeit dem auto_increment eine "Formatvorlage zugeben"? Ich hatte mir das in etwa so gedacht:

Vorlage: tb_XY_##
Ergebniss: tb_XY_01, tb_XY_02, tb_XY_03 ... usw.

Danke schon mal im vorraus.