select replace(char(current_date),'-','') || right(digits(序列名.nextval),8) from (values 1)
right(digits(序列名.nextval),8) ,右补齐,总长度8位
select replace(char(current_date),'-','') || right(digits(序列名.nextval),8) from (values 1)
right(digits(序列名.nextval),8) ,右补齐,总长度8位