The following lines contain the word 'select', 'insert', 'update' or 'delete':
select distinct fact_name into fact_short_name
from edw_sec_fact_info_t
where fact_long_name = fact_table_name;
select count(*) into x_count from user_views
where view_name = UPPER(fact_short_name);
select table_owner into x_object_owner
from user_synonyms --bug#4905343
where synonym_name = UPPER(fact_short_name);
DBMS_RLS.ADD_POLICY(x_object_owner, fact_short_name, 'edw_sec_policy', 'apps', 'edw_sec_pkg.dim_sec', 'select', TRUE);
select distinct fact_name into fact_short_name
from edw_sec_fact_info_t
where fact_long_name = fact_table_name;
select count(*) into x_count from user_views
where view_name = UPPER(fact_short_name);
select table_owner into x_object_owner
from user_synonyms --bug#4905343
where synonym_name = UPPER(fact_short_name);
select distinct fact_name into fact_short_name
from edw_sec_fact_info_t
where fact_long_name = fact_table_name;
select count(*) into x_count from user_views
where view_name = UPPER(fact_short_name);
select table_owner into x_object_owner
from user_synonyms --bug#4905343
where synonym_name = UPPER(fact_short_name);
DBMS_RLS.ADD_POLICY(x_object_owner, fact_short_name, 'edw_sec_default_policy', 'apps', 'edw_sec_pkg.default_sec', 'select', TRUE);
select distinct fact_name into fact_short_name
from edw_sec_fact_info_t
where fact_long_name = fact_table_name;
select count(*) into x_count from user_views
where view_name = UPPER(fact_short_name);
select table_owner into x_object_owner
from user_synonyms --bug#4905343
where synonym_name = UPPER(fact_short_name);