687: --
688: --
689: procedure get_activity(p_establishment_id in number, p_activity out nocopy varchar2) IS
690: f_activity varchar2(300) := NULL;
691: activity_record hr_establishments_v%rowtype;
692: cursor get_establishment_record is
693: select * from hr_establishments_v
694: where establishment_id = p_establishment_id;
695: begin
689: procedure get_activity(p_establishment_id in number, p_activity out nocopy varchar2) IS
690: f_activity varchar2(300) := NULL;
691: activity_record hr_establishments_v%rowtype;
692: cursor get_establishment_record is
693: select * from hr_establishments_v
694: where establishment_id = p_establishment_id;
695: begin
696: open get_establishment_record;
697: fetch get_establishment_record into activity_record;