I am doing a JavaFx
project connected to Documentum
data source . lets say I have a set of groups : group1 , group2 , group3
How can I query all the acl_names
from dm_acl
who has only and exactly
these groups as their r_acceesor_name
. For example using the following query I can get the r_accessor_name of a specific acl:
select r_acceessor_name from dm_acl where object_name = 'My_acl_name' enable (row_based)
and the output is :
group1
group2
group3
But what I want to do is the reverse of this .I've tried the following query :
select object_name from dm_acl where r_accessor_name = 'group1' or r_accessor_name = 'group2' or r_accessor_name = 'group3' enable (row_based)
But the problem with the output is that it's too general which makes sense because of keyword OR
then I tried this :
select object_name from dm_acl where r_accessor_name = 'group1' and r_accessor_name = 'group2' and r_accessor_name = 'group3' enable (row_based)
which is too specific ==> zero output