I have different Oracle DB versions with which I work with Toad 11.6 - 10.2, 11.2 and 12.1. The problem is that when I access the Users tab on the Oracle DB 12.1 I am getting the following error message:
ORA-01841: (full) year must be between -4713 and +9999 and not be 0
I was able to figure out that it is caused by the new filed LAST_LOGIN introduced in Oracle DB 12c in dba_users, which was not existing in previous Oracle DB versions. I spooled SQL and found taht when I go to Users tab Toad executes this query:
Select u., v.
from sys.DBA_USERS u, sys.v_$pwfile_users v
and u.username = v.username(+)
What can I do in order to be able to see users in the Users tab in Toad 11.6 for the Oracle 12c databases? For other versions of Oracle databases that I work with I don’t have this problem. Shall I put any filter on displaying Users tab or maybe to amend the above query somehow and make Toad to execute the amended query instead the above mentioned?