index

Package body mip_table_constraints

Used for a function-based unique index on enquiries.rt_code

Parameters
p_rt_code   the rt_code from the table row

Returns
1   for rt_code = 'ENQ OWN'
2   for rt_code = 'ENQ SUPP'
NULL   for al other values of rt_code



Program units
enq_rt_code  


enq_rt_code

FUNCTION enq_rt_code(p_rt_code IN enquiry_roles.rt_code%TYPE) RETURN NUMBER