index

Package gb_stvdays

Standard functions and procedures for Day of Week Validation Table


Program units
f_code_exists   Determine if the code exists in the table
f_get_description   Return description for the code
f_number_exists   Determine if the day number exists in the table
f_get_number   Return day number for the given day description

Cursors
stvdays_c  


stvdays_c

CURSOR stvdays_c(
    p_code  stvdays.stvdays_code%TYPE)
 RETURN stvdays%ROWTYPE;

f_code_exists

FUNCTION f_code_exists(p_code stvdays.stvdays_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

Parameters
p_code   Day code referenced in the Class Schedule and Registration Modules.

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code stvdays.stvdays_code%TYPE)
  RETURN VARCHAR2

Return description for the code

Parameters
p_code   Day code referenced in the Class Schedule and Registration Modules.

Returns
Description


f_number_exists

FUNCTION f_number_exists(p_number stvdays.stvdays_number%TYPE)
  RETURN VARCHAR2

Determine if the day number exists in the table
@parm p_number referenced in the Class Schedule and Registration Modules.

Returns
Y if found, otherwise N


f_get_number

FUNCTION f_get_number(p_desc stvdays.stvdays_desc%TYPE) RETURN VARCHAR2

Return day number for the given day description

Parameters
p_desc   Day description referenced in the Class Schedule and Registration Modules.

Returns
Day Number