Phone (800) 766-1884 for immediate Oracle support & training
Free Oracle Tips

Home Home
Oracle Monitoring
Growth Monitoring
Emergency DBA Support
Installs & Upgrades
Oracle Migration
Oracle Support Plan
Oracle SQL Tuning
Oracle Performance Tuning

 Our Remote DBA Clients

 

Free Oracle Tips


 
HTML Text

Free Oracle App Server Tips


 
HTML Text

 

   
  Oracle Tips by Burleson

Chapter 9 Oracle Security Internals Scripts

COLUMN username                 FORMAT a12 HEADING User
COLUMN lock_date                FORMAT a11 HEADING 'Date|Locked'
COLUMN expiry_date              FORMAT a11 HEADING 'Expiry|Date'
COLUMN profile                  FORMAT a15 HEADING Profile
 
SET PAGESIZE 58  LINESIZE 131 FEEDBACK OFF
ttitle 'ORACLE USER EXPIRATION REPORT'
BREAK ON username SKIP 1 ON default_tablespace ON temporary_tablespace ON
profile ON account_status
SPOOL user_expire
rem
 
SELECT
   username,
   default_tablespace,
   temporary_tablespace,
   profile,account_status,
   TO_CHAR(lock_date,'dd-mon-yyyy') lock_date,
   TO_CHAR(expiry_date,'dd-mon-yyyy') expiry_date
FROM
   sys.dba_users
ORDER BY
   username,
   default_tablespace,
   temporary_tablespace,
   profile,
   account_status;


The above is from the bestselling book Mike Ault’s Oracle Internals Monitoring & Tuning Scripts
It's only $49.95and you can download all the scripts immediately:
 


    Need an Oracle Health Check?

Does your boss blame you for an Oracle performance problem? 
Need to prove that your database is properly optimized?

BC Oracle performance guru's can quickly verify every aspect of your Oracle database and provide a complete certification that your database is fully optimized.

 

 



 

Burleson Oracle consulting & training



 

 

WISE Oracle monitoring software
 

 

Oracle forum for DBA 

 

Rampant TechPress Oracle book publisher

image 

  

 

E-mail us for BC Oracle support:   

Copyright © 1996 -  2012 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.