ATK_QB_QUERIES_B

Base table for Queries/Rules defined for a QueryGroup/RuleGroup

Details

  • Schema: FUSION

  • Object owner: ATK

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

ATK_QB_QUERIES_B_PK

QUERY_ID

Columns

Name Datatype Length Precision Not-null Comments
QUERY_ID NUMBER 18 Yes Primary key of the table.
QUERY_GROUP_ID NUMBER 18 Yes Represents the query group to which this query belongs to
QUERY_NAME VARCHAR2 240 Yes The internal name of the Query. Used to fetch the sql query.
ENABLED_FLAG VARCHAR2 3 Yes Determines whether the rule/query is disabled.
SEQUENCE_NUM NUMBER 18 Yes Is used when the queries have to be executed in a particular order. Used to order queries/rules.
SELECT_STATEMENT VARCHAR2 4000 Yes The compiled query is stored here. This will be returned to the product teams if they want to see the query.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
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.
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
atk_qb_qry_rslt_values atk_qb_queries_b QUERY_ID
atk_qb_qry_bindparams atk_qb_queries_b QUERY_ID
atk_qb_queries_tl atk_qb_queries_b QUERY_ID

Indexes

Index Uniqueness Tablespace Columns
ATK_QB_QUERIES_B_PK Unique Default QUERY_ID, ORA_SEED_SET1
ATK_QB_QUERIES_B_PK1 Unique Default QUERY_ID, ORA_SEED_SET2