Bom dia a todos,
Hoje estou novamente no cliente xpto..rs!
Comecei a trabalhar e resolvi postar este codigo
Estes dois selects está dentro de um begin....
Vejam:
Select x.campo_tabela ||'/diretorioA' into diretorio
from tabela x
where x.data = (select max(y.data)
from tabela y
where y.data < sysdate)
and rownum =1;
Select x.campo_tabela into diretorio
from tabela x
where x.data = (select max(y.data)
from tabela y
where y.data < sysdate)
and rownum =1;
Fica aqui este código..
Que Deus Abençõe a todos!
Abs Hahu