Dear,
I need to write a procedure , which will lock user who has not logged in the db for the last 45 days. I have enabled session auditing in my db. Which means , it will have NTIMESTAMP# column for the login time and action# 100 for login event in the AUD$ table.
How can the procedure be written so that it could only locked the right user. Please help me..
Regards,