A violation of G-3120 is reported in the following case:
select count(*) as synonym_count -- G-3120
from all_synonyms s
join user_objects o
on o.object_name = s.table_name
where s.owner = 'PUBLIC';
A prefix for * is not possible in this case. In other cases, it's not possible to use * without an alias prefix. We should therefore exclude the check for all column wildcard expressions.
A violation of G-3120 is reported in the following case:
A prefix for
*
is not possible in this case. In other cases, it's not possible to use*
without an alias prefix. We should therefore exclude the check for all column wildcard expressions.