ENQ_AUTO_SEQ_METADATA

Represents metadata for the auto sequence for each quality type.

Details

  • Schema: FUSION

  • Object owner: ENQ

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

ENQ_AUTO_SEQ_METADATA_PK

AUTO_SEQ_METADATA_ID

Columns

Name Datatype Length Precision Not-null Comments
AUTO_SEQ_METADATA_ID NUMBER 18 Yes Auto Sequence Id is a Primary Key which will be system generated Application Unique Id.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
QUALITY_TYPE_ID NUMBER 18 Yes Foreign key reference to Quality Type Id from ENQ_QUALITY_TYPES_B table
STARTING_NUMBER NUMBER 9 Yes This is the Number with which Auto numbering will start with.
SEQUENCE_NAME VARCHAR2 30 Yes This refers to Code column of ENQ_QUALITY_TYPES_B Table.
INCREMENT_BY NUMBER 9 Yes This will indicate the number with which autonumber should get incremented .
PREFIX VARCHAR2 20 The prefix value will be appended before the auto sequence value.
SUFFIX VARCHAR2 20 The suffix value will be appended after the auto sequence value.
MAXIMUM_ATTEMPTS NUMBER 4 Yes Maximum number of attempts to pull the next number that is not causing a conflict.
IS_GAPLESS VARCHAR2 30 This flag will indicate whether sequence generation will be gapless or not.The valid values for this column is defined in the Lookup type 'ORA_ENQ_YES_NO'. The lookup codes are ORA_YES, ORA_NO
IS_SEEDED VARCHAR2 30 This flag will be used to restrict users from editing the seeded values in this table. The valid values for this column is defined in the Lookup type 'ORA_ENQ_YES_NO'. The lookup codes are ORA_YES,ORA_NO
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
ENQ_AUTO_SEQ_METADATA enq_quality_types_b QUALITY_TYPE_ID

Indexes

Index Uniqueness Tablespace Columns
ENQ_AUTO_SEQ_METADATA_N1 Non Unique Default QUALITY_TYPE_ID
ENQ_AUTO_SEQ_METADATA_U1 Unique Default AUTO_SEQ_METADATA_ID, ORA_SEED_SET1
ENQ_AUTO_SEQ_METADATA_U11 Unique Default AUTO_SEQ_METADATA_ID, ORA_SEED_SET2
ENQ_AUTO_SEQ_METADATA_U2 Unique Default SEQUENCE_NAME, ORA_SEED_SET1
ENQ_AUTO_SEQ_METADATA_U21 Unique Default SEQUENCE_NAME, ORA_SEED_SET2