index

Package sb_stvaprn

Standard functions and procedures for Apprenticeship Code Validation Table


Program units
f_code_exists  
f_get_description  

Cursors
stvaprn_c  


stvaprn_c

CURSOR stvaprn_c(
    p_code  stvaprn.stvaprn_code%TYPE)
 RETURN stvaprn%ROWTYPE;

f_code_exists

Function f_code_exists(
    p_code  stvaprn.stvaprn_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

Parameters
p_code   Apprenticeship Code.

Returns
Y if found, otherwise N


f_get_description

Function f_get_description(
    p_code  stvaprn.stvaprn_code%TYPE) RETURN VARCHAR2

Return description for the code

Parameters
p_code   Apprenticeship Code.

Returns
Description