Après test, le boolean vaut TRUE si le fichier existe est vaut effectivement NULL si le fichier n'existe pas.
La solution la plus simple consiste donc à tester :
Code:
1
2
3
4
5 If LB$Bool then -- le fichier existe -- Else -- il n'existe pas -- End;
Version imprimable
Après test, le boolean vaut TRUE si le fichier existe est vaut effectivement NULL si le fichier n'existe pas.
La solution la plus simple consiste donc à tester :
Code:
1
2
3
4
5 If LB$Bool then -- le fichier existe -- Else -- il n'existe pas -- End;
Regardez comment la fonction est définie dans la documentation d'Oracle
Donc la réponse est non. Mais, en fait ce quoi votre problème ?Citation:
FILEEXISTS Function
This function finds out if a given BFILE locator points to a file that actually exists on the server's file system.
Syntax
DBMS_LOB.FILEEXISTS (
file_loc IN BFILE)
RETURN INTEGER;
Pragmas
pragma restrict_references(FILEEXISTS, WNDS, RNDS, WNPS, RNPS);
Parameters
Table 52-23 FILEEXISTS Function Parameter
Parameter Description
file_loc
Locator for the BFILE.