I am storing a file in a temporary table.
Declare
l_nombre_archivo = varchar2(300);
Begin
select filename
INTO l_nombre_archivo
FROM apex_application_temp_files
where name = :P200_FILE; ---Es el file browser
:P200_FILENAME := l_nombre_archivo; ---:P200_FILENAME es el label
End;
Then I print the filename in a label and it looks like this: myfile.txt
How can I remove the .txt characters?
Expected result print only: myfile
You can use the INSTR and SUBSTR functions , for example: