Anon;619191 wrote:I need to know if it's possible to have MySQL auto increment a text field. I have a field that contains 5 CHAR 'AAAAB' then 'AAAAC','AAAAD' etc... In that stupid excel program excel can figure out that this is a sequence and starts auto incrementing to the next value is there anyway for MySQL to do this?
I agree with you. Sometimes we cross with those business rules, which are not "the best technical way" to do this, but still a business rule and MUST be obeyed.
On your case, be happy! To do a text incremental is piece of cake:
select HEX('abc'), UNHEX(HEX('abc')+1);
Done. 🙂