Du kan bruge SUBSTR fungere som: select substr('TN0001234567890345',-10) from dual; Output: 4567890345