index

Package gb_gtvblot

Standard functions and procedures for binary large object type code validation table.


Program units
f_code_exists   Determine if the code exists in the table
f_get_description   Return description for the code
f_get_mime_type   Return mime type for the code

Cursors
gtvblot_c  


gtvblot_c

CURSOR gtvblot_c(
  p_code  gtvblot.gtvblot_code%TYPE)
RETURN gtvblot%ROWTYPE;

f_code_exists

FUNCTION f_code_exists(p_code gtvblot.gtvblot_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

Parameters
p_code   A code identifying the file type.

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code gtvblot.gtvblot_code%TYPE)
  RETURN VARCHAR2

Return description for the code

Parameters
p_code   A code identifying the file type.

Returns
Description


f_get_mime_type

FUNCTION f_get_mime_type(p_code gtvblot.gtvblot_code%TYPE) RETURN VARCHAR2

Return mime type for the code

Parameters
p_code   A code identifying the file type.

Returns
Mime type