Übrigens versuch mal:

right('0000000000' concat trim(replace(Konto, '-', '')), 10)