diff --git a/Modules/mip_parties.pck b/Modules/mip_parties.pck index 55621e9..01b47df 100644 --- a/Modules/mip_parties.pck +++ b/Modules/mip_parties.pck @@ -44,9 +44,12 @@ CREATE OR REPLACE PACKAGE BODY mip_parties AS - gets the primary key for a supplied username. This function searches the parties - table for a matching username, if the name is found the users id is returned. %param p_username - the name of the user you want to get the id for. + + UPDATES + 20-Nov-2007 - MM- Upper ing the username check as APEX passes an uppered :APP_USER */ FUNCTION get_user_id(p_username IN VARCHAR2) return NUMBER as userid NUMBER; - cursor c_userid is select id from parties where USERNAME = p_username; + cursor c_userid is select id from parties where upper(USERNAME) = upper(p_username); begin open c_userid; fetch c_userid into userid;