DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: find user lock account timings

  1. #1
    Join Date
    Aug 2008
    Posts
    123

    find user lock account timings

    Hi all,

    How can i find out the time the user account got locked? I can get date but how can i get the time?

    Please guide!!

    thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    Set nls_date_format ...

    alter session set nls_date_format='dd-mon-yy hh24:mi:ss';

    select username, lock_date from dba_users where username='XXXX';

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width