如果不在乎编号的具体的值,用标识列就好。显示时再加上“A”。如:select 'A'+right('000'+id,4) as id from tablename