Hello,
I want to get a list of login IDs for all developers from DB1 that do not exist in DB2.
here is the query I am using:
scott@DB1>select username from dba_users
where username like '%_DEV'
and username not in (select username
from dba_users@db2
where username like '%_DEV')
order by username ;
'ELEBEDEV' is in the result list.
But if I run this:
select username from dba_users
where username like '%_DEV';
'ELEBEDEV' is NOT in the result list.
Can anybody help me understand why 'ELEBEDEV' comes from the first query?
Thank you
I want to get a list of login IDs for all developers from DB1 that do not exist in DB2.
here is the query I am using:
scott@DB1>select username from dba_users
where username like '%_DEV'
and username not in (select username
from dba_users@db2
where username like '%_DEV')
order by username ;
'ELEBEDEV' is in the result list.
But if I run this:
select username from dba_users
where username like '%_DEV';
'ELEBEDEV' is NOT in the result list.
Can anybody help me understand why 'ELEBEDEV' comes from the first query?
Thank you