select
‘Empresa_’|| ‘VAR’||’_’|| to_char(sysdate, ‘yyyy’)||to_char(sysdate, ‘mm’)||to_char(sysdate, ‘dd’)
||to_char(sysdate, ‘HH24’)||to_char(sysdate, ‘MI’)||to_char(sysdate, ‘SS’)
||’.txt’
from dual
select
‘Empresa_’|| ‘VAR’||’_’|| to_char(sysdate, ‘yyyy’)||to_char(sysdate, ‘mm’)||to_char(sysdate, ‘dd’)
||to_char(sysdate, ‘HH24’)||to_char(sysdate, ‘MI’)||to_char(sysdate, ‘SS’)
||’.txt’
from dual