KNTA_STORED_QUERIES

This table stores workbench query definitions saved by users. A stored query is specific to a particular user and a particular workbench. The particular workbench determines the significance of each query parameter.

Foreign Keys

Primary Key Table

Primary Key Column

Foreign Key Column

KNTA_USERS

USER_ID

CREATED_BY

KNTA_USERS

USER_ID

LAST_UPDATED_BY

KNTA_USERS

USER_ID

USER_ID

Column Descriptions

Column Name

Null?

Data Type

Description

QUERY_ID

NOT NULL

NUMBER

System-generated identifier

CREATION_DATE

NOT NULL

DATE

Date record was created

CREATED_BY

NOT NULL

NUMBER

Identifier for the user who created the record

LAST_UPDATE_DATE

NOT NULL

DATE

Date record was last updated

LAST_UPDATED_BY

NOT NULL

NUMBER

Identifier for the user who last updated the record

ENTITY_LAST_UPDATE_DATE

NOT NULL

DATE

Date a record in the entity was last updated

QUERY_NAME

NOT NULL

VARCHAR2(50)

Name of the stored query

USER_ID

NOT NULL

NUMBER

Indicates the user who can load and execute this stored query

WORKBENCH_CODE

NOT NULL

NUMBER

Indicates the workbench within which this stored query can be loaded and executed

QUERY_PARAMETER1-50

NULLABLE

VARCHAR2(400)

Stored query segment

Indexes

Index Name

Index Type

Sequence

Column Name

KNTA_STORED_QUERIES_U1

UNIQUE

1

QUERY_ID

KNTA_STORED_QUERIES_U2

UNIQUE

1

USER_ID

KNTA_STORED_QUERIES_U2

UNIQUE

2

WORKBENCH_CODE

KNTA_STORED_QUERIES_U2

UNIQUE

3

QUERY_NAME

Sequences

Sequence Name

Sequence Type

KNTA_STORED_QUERIES_S

QUERY_ID