Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DBA_USERS showing null values in PASSWORD column

802807Oct 3 2011 — edited Oct 3 2011
Hi,

We are running a select query from dba_users table as follows :

select username from dba_users
where to_char(expiry_date, 'DD-MON-YY') =
to_char(sysdate + &expire_day, 'DD-MON-YY')
and password not in ('EXTERNAL','account-locked')
and account_status <> 'LOCKED';


This query was running fine with 10g Version, but after Oracle was upgraded to 11G recently, above query does not return any rows.

Also, when we remove the condition "and password not in ('EXTERNAL','account-locked')", it works.
And the values for the PASSWORD column shows null.

Is this related to Oracle upgrade ?

Kindly help..

Thanks,
Jatin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2011
Added on Oct 3 2011
2 comments
5,963 views