Important Oracle Scripts for Database Administrators (Part-1)

In this artical i want to share some very useful scripts for Oracle Database Administrator.

Security Grants

grant select on 'TABLE NAME' to public with grant option;



select * from dba_tab_privs where TABLE_NAME = 'TABLE_NAME'


select * from dba_role_privs where granted_role = 'PORTMAN_TABLE'


Resizing A Data File

alter database datafile '/u04/oradata/wpk/temp01.dbf' resize 200m;


Show All Product Information



select * from product_component_version;

Comments

Post a Comment

Popular posts from this blog

What is Oracle Integration Cloud Service - ICS?

How to Create Packages in Oracle Database using TOAD for Oracle

How to create a Simple Scheduler Job in Oracle Database using Toad