Application Express User's Guide > Oracle Application Express ... > HTMLDB_UTIL > GET_FILE_ID Function
GET_FILE_ID Function |
![]() Previous |
![]() Next |
This function obtains the primary key of a file in the Oracle Application Express file repository.
Syntax
HTMLDB_UTIL.GET_FILE_ID (
p_fname IN VARCHAR2)
RETURN NUMBER;
Parameters
Table: GET_FILE_ID Parameters describes the parameters available in GET_FILE_ID function.
GET_FILE_ID Parameters
| Parameter | Description |
|---|---|
|
|
The NAME in |
Example
DECLARE
l_name VARCHAR2(255);
l_file_id NUMBER;
BEGIN
SELECT name INTO l_name FROM HTMLDB_APPLICATION_FILES
WHERE filename = 'F125.sql';
--
l_file_id := HTMLDB_UTIL.GET_FILE_ID(p_fname => );
END;