Package gb_stvmajr
Standard functions and procedures for Major, Minor, Concentration Validation Table.
One of these codes can be used in any or all of the categories Major,Minor, and Concentration. Separate functions are provided to verfiy that a given code has a particular indicator set and thus may be used in that role.
|
f_code_exists
|
Determine if the major code exists in the table, regardless of the major, minor and concentration indicators.
|
f_major_code_exists
|
Determine if the code exists in the table and is flagged for use as a major code.
|
f_minor_code_exists
|
Determine if the code exists in the table and is flagged for use as a minor code.
|
f_concentration_code_exists
|
Determine if the code exists in the table and is flagged for use as a concentration code.
|
f_get_description
|
Return description for the code.
|
stvmajr_c
cursor stvmajr_c(
p_code stvmajr.stvmajr_code%TYPE)
RETURN stvmajr%ROWTYPE;
stvmajr_major_c
cursor stvmajr_major_c(
p_code stvmajr.stvmajr_code%TYPE)
RETURN stvmajr%ROWTYPE;
stvmajr_minor_c
cursor stvmajr_minor_c(
p_code stvmajr.stvmajr_code%TYPE)
RETURN stvmajr%ROWTYPE;
stvmajr_concentration_c
cursor stvmajr_concentration_c(
p_code stvmajr.stvmajr_code%TYPE)
RETURN stvmajr%ROWTYPE;
f_code_exists
FUNCTION f_code_exists(p_code stvmajr.stvmajr_code%TYPE) RETURN VARCHAR2
Determine if the major code exists in the table, regardless of the major, minor and concentration indicators.
|
p_code
|
Major code used by Catalog, Admissions, Registration, etc.
|
f_major_code_exists
FUNCTION f_major_code_exists(p_code stvmajr.stvmajr_code%TYPE)
RETURN VARCHAR2
Determine if the code exists in the table and is flagged for use as a major code.
|
p_code
|
Major code used by Catalog, Admissions, Registration, etc.
|
f_minor_code_exists
FUNCTION f_minor_code_exists(p_code stvmajr.stvmajr_code%TYPE)
RETURN VARCHAR2
Determine if the code exists in the table and is flagged for use as a minor code.
|
p_code
|
Major code used by Catalog, Admissions, Registration, etc.
|
f_concentration_code_exists
FUNCTION f_concentration_code_exists(p_code stvmajr.stvmajr_code%TYPE)
RETURN VARCHAR2
Determine if the code exists in the table and is flagged for use as a concentration code.
|
p_code
|
Major code used by Catalog, Admissions, Registration, etc.
|
f_get_description
FUNCTION f_get_description(p_code stvmajr.stvmajr_code%TYPE)
RETURN VARCHAR2
Return description for the code.
|
p_code
|
Major code used by Catalog, Admissions, Registration, etc.
|