669: l_count integer := 0;
670: BEGIN
671: if ( p_object_type <> 'MV') then
672: select count(*) into l_count
673: from bis_obj_prog_linkages lkg
674: where
675: object_type <> 'MV'
676: and lkg.enabled_flag = 'Y'
677: and lkg.refresh_mode in ( 'INIT', 'INIT_INCR')
685: return false;
686: end if;
687: else
688: select count(*) into l_count
689: from bis_obj_prog_linkages lkg
690: where
691: object_type = 'MV'
692: and lkg.enabled_flag = 'Y'
693: and lkg.refresh_mode in ( 'INIT', 'INIT_INCR')