Professional Documents
Culture Documents
Oracle Data Dictionary
Oracle Data Dictionary
USER_INDEXES
USER_IND_COLOUMNS
USER_OBJECT
ROLE_SYS_PRIVS
ROLE_TAB_PRIVS
USER_ROLE_PRIVS
USER_TAB_PRIVS_MADE
USER_TAB_PRIVS_RECD
USER_COL_PRIVS_MADE
USER_COL_PRIVS_RECD
USER_SYS_PRIVS
DBA_JOBS
DBA_JOBS_RUNNING
MATERIALIZED VIEWS
DBMS_VREFRESH
DBA_MVIEWS
USER_REFRESH
USER_REFRESH_CHILDEREN
TRIGGERS
PROCEDURES
FUNCTIONS
USER_ERRORS
PACKAGES
ALL_SOURCE
DBA_SOURCE
INBUILT PACKAGES
DBMS_SQL
DBMS_DDL
DBMS_UTILITY
DBMS_JOB
DBMS_OUTPUT
TYPE
CONTAINS NAME OF THE INDEX AND ITS UNIQUENESS VIEW
CONTAINS INDEX NAME, COLOMN NAME, TABLE NAME VIEW
TABLE
Must have "alter table" or "alter any table" and "create trigger privileges
the create trigger system privilege is part of the resource role provided with oracle
The privileges needed for triggered transactions cannot come form roles; they must
be granted directly to the creator of the trigger.
Functions can return value with help of return and func can be directly refrenced in quries
create procedure system privilege is needed which is part of resource role
"SHOW ERROR" command in sql plus displays the errors associated with most
recently created procedure object
To view errors associated with previously created procdural objects. TABLE
custom func cannot be used in CHECK or DEFAULT constraints and cannot
manipulate any database value
METHODS
ALTER_COMPILE('OBJECT_TYPE','OWNER','OBJECT_NAME'),
ANALYZE_OBJECT, PROCEDURE
COMPUTE,ESTIMATE,DELETE PROCEDURE
SUBMIT(JOB => :BINDVARIABLE,WHAT=>'OVER_PACK.ADD_DEP()',
NEXT_DATE=>TRUNC(SYSDATE+1),INTERVAL=>'TRUNC(SYSDATE+1)'
RUN(1).REMOVE(1),BROKEN(1,TRUE)
PUT,NEW_LINE,PUT_LINE,GET_LINE,GET_LINES,ENABLE/DISABLE
METHODS NOTES
SEQUENCES
SYNONYM
PRIVELEGES
DATABASE LINKS
EXTERNAL TABLES
To create the query in another schema or another schema's table ,you must have CREATE ANY INDEX AND GLOBALE
To create any index in any schema u must have create table privilege
USER_INDEXES view contains the name of the index and its unique ness
USER_IND_COLUMNS view
you cannot modify index first drop it and then recreate it
To varify the next available sequence no. query to USER_SEQUENCES(view) table IN LAST_NUMBER COLOMN ,IF NO
ONLY A DBA CAN DROP AND CREATE THE PUBLIC SYNONYM OR THE USER TO WHOME DBA HAVE GRANTED T
the account to which u will be connecting in remote database must have CREATE SESSION system privilege,These privile
must have CREATE ANY DIRECTORY system privilege to create any dir object
INDEX To create the query in another schema or another schema's table ,you must have CREATE ANY INDEX AND GLO
ATE ANY INDEX AND GLOBALE QUERY REWRITE privileger