Adding some docs. They'll need updating and renaming if they are to be of any use

This commit is contained in:
Éibhear Ó hAnluain 2016-10-11 21:21:19 +01:00
parent 20d015dda5
commit af1b40838a
3 changed files with 2390 additions and 0 deletions

319
docs/enode-oracle-objects.txt Executable file
View file

@ -0,0 +1,319 @@
USER%
-----
TABLES
------
USER$ SYS
USER_ASTATUS_MAP SYS
USER_HISTORY$ SYS
USER_CS_SRS MDSYS
USER_TRANSFORM_MAP MDSYS
SYNONYMS
--------
USER_ALL_TABLES PUBLIC
Name Null? Type
----------------------------------------- -------- --------------
TABLE_NAME VARCHAR2(30)
TABLESPACE_NAME VARCHAR2(30)
CLUSTER_NAME VARCHAR2(30)
IOT_NAME VARCHAR2(30)
PCT_FREE NUMBER
PCT_USED NUMBER
INI_TRANS NUMBER
MAX_TRANS NUMBER
INITIAL_EXTENT NUMBER
NEXT_EXTENT NUMBER
MIN_EXTENTS NUMBER
MAX_EXTENTS NUMBER
PCT_INCREASE NUMBER
FREELISTS NUMBER
FREELIST_GROUPS NUMBER
LOGGING VARCHAR2(3)
BACKED_UP VARCHAR2(1)
NUM_ROWS NUMBER
BLOCKS NUMBER
EMPTY_BLOCKS NUMBER
AVG_SPACE NUMBER
CHAIN_CNT NUMBER
AVG_ROW_LEN NUMBER
AVG_SPACE_FREELIST_BLOCKS NUMBER
NUM_FREELIST_BLOCKS NUMBER
DEGREE VARCHAR2(10)
INSTANCES VARCHAR2(10)
CACHE VARCHAR2(5)
TABLE_LOCK VARCHAR2(8)
SAMPLE_SIZE NUMBER
LAST_ANALYZED DATE
PARTITIONED VARCHAR2(3)
IOT_TYPE VARCHAR2(12)
OBJECT_ID_TYPE VARCHAR2(16)
TABLE_TYPE_OWNER VARCHAR2(30)
TABLE_TYPE VARCHAR2(30)
TEMPORARY VARCHAR2(1)
SECONDARY VARCHAR2(1)
NESTED VARCHAR2(3)
BUFFER_POOL VARCHAR2(7)
ROW_MOVEMENT VARCHAR2(8)
GLOBAL_STATS VARCHAR2(3)
USER_STATS VARCHAR2(3)
DURATION VARCHAR2(15)
SKIP_CORRUPT VARCHAR2(8)
MONITORING VARCHAR2(3)
CLUSTER_OWNER VARCHAR2(30)
DEPENDENCIES VARCHAR2(8)
COMPRESSION VARCHAR2(8)
USER_APPLICATION_ROLES PUBLIC
Name Null? Type
-------------------------------- -------- -----------------------
ROLE NOT NULL VARCHAR2(30)
SCHEMA NOT NULL VARCHAR2(30)
PACKAGE NOT NULL VARCHAR2(30)
USER_AQ_AGENT_PRIVS PUBLIC
USER_ARGUMENTS PUBLIC
USER_ASSOCIATIONS PUBLIC
USER_ATTRIBUTE_TRANSFORMATIONS PUBLIC
USER_AUDIT_OBJECT PUBLIC
USER_AUDIT_POLICIES PUBLIC
USER_AUDIT_SESSION PUBLIC
USER_AUDIT_STATEMENT PUBLIC
USER_AUDIT_TRAIL PUBLIC
USER_AWS PUBLIC
USER_AW_PS PUBLIC
USER_BASE_TABLE_MVIEWS PUBLIC
USER_CATALOG PUBLIC
USER_CLUSTERS PUBLIC
USER_CLUSTER_HASH_EXPRESSIONS PUBLIC
USER_CLU_COLUMNS PUBLIC
USER_COLL_TYPES PUBLIC
USER_COL_COMMENTS PUBLIC
USER_COL_PRIVS PUBLIC
USER_COL_PRIVS_MADE PUBLIC
USER_COL_PRIVS_RECD PUBLIC
USER_CONSTRAINTS PUBLIC
USER_CONS_COLUMNS PUBLIC
USER_CONS_OBJ_COLUMNS PUBLIC
USER_DB_LINKS PUBLIC
USER_DEPENDENCIES PUBLIC
USER_DIMENSIONS PUBLIC
USER_DIM_ATTRIBUTES PUBLIC
USER_DIM_CHILD_OF PUBLIC
USER_DIM_HIERARCHIES PUBLIC
USER_DIM_JOIN_KEY PUBLIC
USER_DIM_LEVELS PUBLIC
USER_DIM_LEVEL_KEY PUBLIC
USER_ERRORS PUBLIC
USER_EVALUATION_CONTEXTS PUBLIC
USER_EVALUATION_CONTEXT_TABLES PUBLIC
USER_EVALUATION_CONTEXT_VARS PUBLIC
USER_EXTENTS PUBLIC
USER_EXTERNAL_LOCATIONS PUBLIC
USER_EXTERNAL_TABLES PUBLIC
USER_FREE_SPACE PUBLIC
USER_GEOMETRY_COLUMNS PUBLIC
USER_HISTOGRAMS PUBLIC
USER_INDEXES PUBLIC
USER_INDEXTYPES PUBLIC
USER_INDEXTYPE_COMMENTS PUBLIC
USER_INDEXTYPE_OPERATORS PUBLIC
USER_IND_COLUMNS PUBLIC
USER_IND_EXPRESSIONS PUBLIC
USER_IND_PARTITIONS PUBLIC
USER_IND_SUBPARTITIONS PUBLIC
USER_INTERNAL_TRIGGERS PUBLIC
USER_JAVA_ARGUMENTS PUBLIC
USER_JAVA_CLASSES PUBLIC
USER_JAVA_DERIVATIONS PUBLIC
USER_JAVA_FIELDS PUBLIC
USER_JAVA_IMPLEMENTS PUBLIC
USER_JAVA_INNERS PUBLIC
USER_JAVA_LAYOUTS PUBLIC
USER_JAVA_METHODS PUBLIC
USER_JAVA_NCOMPS PUBLIC
USER_JAVA_POLICY PUBLIC
USER_JAVA_RESOLVERS PUBLIC
USER_JAVA_THROWS PUBLIC
USER_JOBS PUBLIC
USER_JOIN_IND_COLUMNS PUBLIC
USER_LIBRARIES PUBLIC
USER_LOBS PUBLIC
USER_LOB_PARTITIONS PUBLIC
USER_LOB_SUBPARTITIONS PUBLIC
USER_LOB_TEMPLATES PUBLIC
USER_LOG_GROUPS PUBLIC
USER_LOG_GROUP_COLUMNS PUBLIC
USER_METHOD_PARAMS PUBLIC
USER_METHOD_RESULTS PUBLIC
USER_MVIEWS PUBLIC
USER_MVIEW_AGGREGATES PUBLIC
USER_MVIEW_ANALYSIS PUBLIC
USER_MVIEW_DETAIL_RELATIONS PUBLIC
USER_MVIEW_JOINS PUBLIC
USER_MVIEW_KEYS PUBLIC
USER_MVIEW_LOGS PUBLIC
USER_MVIEW_REFRESH_TIMES PUBLIC
USER_NESTED_TABLES PUBLIC
USER_OBJECTS PUBLIC
USER_OBJECT_SIZE PUBLIC
USER_OBJECT_TABLES PUBLIC
USER_OBJ_AUDIT_OPTS PUBLIC
USER_OBJ_COLATTRS PUBLIC
USER_OPANCILLARY PUBLIC
USER_OPARGUMENTS PUBLIC
USER_OPBINDINGS PUBLIC
USER_OPERATORS PUBLIC
USER_OPERATOR_COMMENTS PUBLIC
USER_OUTLINES PUBLIC
USER_OUTLINE_HINTS PUBLIC
USER_PARTIAL_DROP_TABS PUBLIC
USER_PART_COL_STATISTICS PUBLIC
USER_PART_HISTOGRAMS PUBLIC
USER_PART_INDEXES PUBLIC
USER_PART_KEY_COLUMNS PUBLIC
USER_PART_LOBS PUBLIC
USER_PART_TABLES PUBLIC
USER_PASSWORD_LIMITS PUBLIC
USER_PENDING_CONV_TABLES PUBLIC
USER_POLICIES PUBLIC
USER_POLICY_CONTEXTS PUBLIC
USER_POLICY_GROUPS PUBLIC
USER_PROCEDURES PUBLIC
USER_PROXIES PUBLIC
USER_PUBLISHED_COLUMNS PUBLIC
USER_QUEUES PUBLIC
USER_QUEUE_PUBLISHERS PUBLIC
USER_QUEUE_SCHEDULES PUBLIC
USER_QUEUE_TABLES PUBLIC
USER_REFRESH PUBLIC
USER_REFRESH_CHILDREN PUBLIC
USER_REFS PUBLIC
USER_REGISTERED_MVIEWS PUBLIC
USER_REGISTERED_SNAPSHOTS PUBLIC
USER_REGISTRY PUBLIC
USER_REPAUDIT_ATTRIBUTE PUBLIC
USER_REPAUDIT_COLUMN PUBLIC
USER_REPCAT PUBLIC
USER_REPCATLOG PUBLIC
USER_REPCAT_REFRESH_TEMPLATES PUBLIC
USER_REPCAT_TEMPLATE_OBJECTS PUBLIC
USER_REPCAT_TEMPLATE_PARMS PUBLIC
USER_REPCAT_TEMPLATE_SITES PUBLIC
USER_REPCAT_USER_AUTHORIZATION PUBLIC
USER_REPCAT_USER_PARM_VALUES PUBLIC
USER_REPCOLUMN PUBLIC
USER_REPCOLUMN_GROUP PUBLIC
USER_REPCONFLICT PUBLIC
USER_REPDDL PUBLIC
USER_REPFLAVORS PUBLIC
USER_REPFLAVOR_COLUMNS PUBLIC
USER_REPFLAVOR_OBJECTS PUBLIC
USER_REPGENERATED PUBLIC
USER_REPGENOBJECTS PUBLIC
USER_REPGROUP PUBLIC
USER_REPGROUPED_COLUMN PUBLIC
USER_REPGROUP_PRIVILEGES PUBLIC
USER_REPKEY_COLUMNS PUBLIC
USER_REPOBJECT PUBLIC
USER_REPPARAMETER_COLUMN PUBLIC
USER_REPPRIORITY PUBLIC
USER_REPPRIORITY_GROUP PUBLIC
USER_REPPROP PUBLIC
USER_REPRESOLUTION PUBLIC
USER_REPRESOLUTION_METHOD PUBLIC
USER_REPRESOLUTION_STATISTICS PUBLIC
USER_REPRESOL_STATS_CONTROL PUBLIC
USER_REPSCHEMA PUBLIC
USER_REPSITES PUBLIC
USER_RESOURCE_LIMITS PUBLIC
USER_RESUMABLE PUBLIC
USER_ROLE_PRIVS PUBLIC
USER_RSRC_CONSUMER_GROUP_PRIVS PUBLIC
USER_RSRC_MANAGER_SYSTEM_PRIVS PUBLIC
USER_RULES PUBLIC
USER_RULESETS PUBLIC
USER_RULE_SETS PUBLIC
USER_RULE_SET_RULES PUBLIC
USER_SDO_GEOM_METADATA PUBLIC
USER_SDO_INDEX_INFO PUBLIC
USER_SDO_INDEX_METADATA PUBLIC
USER_SDO_LRS_METADATA PUBLIC
USER_SDO_MAPS PUBLIC
USER_SDO_STYLES PUBLIC
USER_SDO_THEMES PUBLIC
USER_SECONDARY_OBJECTS PUBLIC
USER_SEGMENTS PUBLIC
USER_SEQUENCES PUBLIC
USER_SNAPSHOTS PUBLIC
USER_SNAPSHOT_LOGS PUBLIC
USER_SNAPSHOT_REFRESH_TIMES PUBLIC
USER_SOURCE PUBLIC
USER_SOURCE_TABLES PUBLIC
USER_SOURCE_TAB_COLUMNS PUBLIC
USER_SQLJ_TYPES PUBLIC
USER_SQLJ_TYPE_ATTRS PUBLIC
USER_SQLJ_TYPE_METHODS PUBLIC
USER_STORED_SETTINGS PUBLIC
USER_SUBPARTITION_TEMPLATES PUBLIC
USER_SUBPART_COL_STATISTICS PUBLIC
USER_SUBPART_HISTOGRAMS PUBLIC
USER_SUBPART_KEY_COLUMNS PUBLIC
USER_SUBSCRIBED_COLUMNS PUBLIC
USER_SUBSCRIBED_TABLES PUBLIC
USER_SUBSCRIPTIONS PUBLIC
USER_SUMMARIES PUBLIC
USER_SUMMARY_AGGREGATES PUBLIC
USER_SUMMARY_DETAIL_TABLES PUBLIC
USER_SUMMARY_JOINS PUBLIC
USER_SUMMARY_KEYS PUBLIC
USER_SYNONYMS PUBLIC
USER_SYS_PRIVS PUBLIC
USER_TABLES PUBLIC
USER_TABLESPACES PUBLIC
USER_TAB_COLS PUBLIC
USER_TAB_COLUMNS PUBLIC
USER_TAB_COL_STATISTICS PUBLIC
USER_TAB_COMMENTS PUBLIC
USER_TAB_HISTOGRAMS PUBLIC
USER_TAB_MODIFICATIONS PUBLIC
USER_TAB_PARTITIONS PUBLIC
USER_TAB_PRIVS PUBLIC
USER_TAB_PRIVS_MADE PUBLIC
USER_TAB_PRIVS_RECD PUBLIC
USER_TAB_SUBPARTITIONS PUBLIC
USER_TRANSFORMATIONS PUBLIC
USER_TRIGGERS PUBLIC
USER_TRIGGER_COLS PUBLIC
USER_TS_QUOTAS PUBLIC
USER_TYPES PUBLIC
USER_TYPE_ATTRS PUBLIC
USER_TYPE_METHODS PUBLIC
USER_TYPE_VERSIONS PUBLIC
USER_UNUSED_COL_TABS PUBLIC
USER_UPDATABLE_COLUMNS PUBLIC
USER_USERS PUBLIC
USER_USTATS PUBLIC
USER_VARRAYS PUBLIC
USER_VIEWS PUBLIC
USER_WM_LOCKED_TABLES PUBLIC
USER_WM_MODIFIED_TABLES PUBLIC
USER_WM_PRIVS PUBLIC
USER_WM_RIC_INFO PUBLIC
USER_WM_TAB_TRIGGERS PUBLIC
USER_WM_VERSIONED_TABLES PUBLIC
USER_WM_VT_ERRORS PUBLIC
USER_WORKSPACES PUBLIC
USER_WORKSPACE_PRIVS PUBLIC
USER_WORKSPACE_SAVEPOINTS PUBLIC
USER_XML_SCHEMAS PUBLIC
USER_XML_TABLES PUBLIC
USER_XML_TAB_COLS PUBLIC
USER_XML_VIEWS PUBLIC
USER_XML_VIEW_COLS PUBLIC
VIEWS
-----
SEQUENCES
---------
USERHISTORY_SEQ WORKFLOW
USERID_SEQ WORKFLOW

34
docs/enode-pls-syntax.txt Executable file
View file

@ -0,0 +1,34 @@
assignment_statement ::=
{ collection_name [ (index) ]
| cursor_variable_name
| : host_cursor_variable_name
| : host_variable_name [ :indicator_name ]
| object_name [ .attribute_name ]
| parameter_name
| record_name [ .field_name ]
| variable_name
} := expression;
plsql_block ::=
[ << label_name >> ]
[ DECLARE ]
[ { type_definition | item_definition }
[ type_definition | item_definition ] ... ]
[ {function_declaration | procedure_declaration }
[ function_declaration | procedure_declaration] ... ]
BEGIN statement [statement ...]
[ EXCEPTION exception_handler [exception_handler ...] ]
END [ label_name ] ;
type_definition ::=
{ record_type_definition
| ref_cursor_type_definition
| table_type_definition
| subtype_definition
| varray_type_definition
}
subtype_definition ::=
subtype_definition ::=
SUBTYPE subtype_name IS base_type
[ (constraint) ] [ NOT NULL ];

2037
docs/enode-sql.sql Executable file

File diff suppressed because it is too large Load diff