Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | Questions | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

 
 
 
 Found 8 tips, Displaying 1 - 8 
 
Sort by 
 
 How to check what users are in password file
select * from v$pwfile_users;
 More...
11/18/09
 
 
 What privileges are needed to create stored procedures and packages
To create package or a stored procedure in your own schema you will need: CREATE PROCEDURE privilege granted to your user account. To create packages and stored procedures in other schemas you will need: CREATE ANY PROCEDURE
     
More...

07/29/08
 
 
 How to enable auditing in Oracle database
For Oracle versions prior to 9 set audit_trail parameter in ini file i.e.: audit_trail = DB For Oracle 9 and later: alter system set audit_trail = DB; If you want to audit a specific user run the following: audit alter table, select table, insert table, update table, delete table, grant table, grant procedure by USERNAME; To ...
     
More...

11/08/07
 
 
 How to force user choose a new password
Run this from sqlplus to force Oracle user choose a new password when he/she logs in next time: SQL> ALTER USER username PASSWORD EXPIRE;
 More...
05/11/06
 
 
 How to unlock Oracle user account
Here's how to lock or unlock Oracle database user accounts. SQL> ALTER USER username ACCOUNT LOCK; SQL> ALTER USER username ACCOUNT UNLOCK;
     
More...

05/11/06
 
 
 How to switch to another user
Need to become a different Oracle database user? There is a way to login into a another user's account without knowing their password: 1. Find out the encrypted password for the user SQL> select username, password from dba_users where username = 'USERNAME'; USERNAME PASSWORD ------------ ------------------------------ USERNAME ...
     
More...

02/07/06
 
 
 How to create externally identified user
This is an example how to create externally identified user in Oracle; i.e. if you want the os oracle user to connect to database without supplying password run the following statement from sqlplus: SQL> create user OPS$ORACLE identified externally default tablespace users temporary ...
     
More...

02/07/06
 
 
 Find out users quota for tablespaces
Query dba_ts_quotas to see users' quota per tablespace select tablespace_name from dba_ts_quotas where username = 'USERNAME' /
 More...
12/01/05
 
 


Recent tips & tricks
Databases > Oracle > RMAN : Syntax to crosscheck archive l...
Databases > Oracle > Oracle 10g : Recover a dropped/deleted tabl...
Databases > Oracle > Oracle 10g : Drop wrongly added Datafile in...
Databases > Oracle > Oracle 9 : how to lock unlock a user by c...

More categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Office Software | TipLib FAQ
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com