Q&A about the site for expert genealogists and people interested in genealogy or family history
with test as (select 'SQL error "ORA-01722: invalid number"' as Title) SELECT PATINDEX('%[ORATNS][ORATNS][ORATNS]-[0-9][0-9][0-9][0-9][0-9]%',p.[Title]) from test p;