select max (to_number(substr(NOT_ID_NOTICIA,4,10))) as maximo from RNC_NOTICIAS where NOT_BORRADO = 'N'