ARM_QUESTIONS

This table stores the questions for a format instance.

Details

Object type: TABLE

Primary Key

Name Columns

ARM_QUESTIONS_PK

QUESTION_ID

Columns

Name Data Type Length Precision Scale Null Allowed Comments

QUESTION_ID

NUMBER

 

18

0

No

Unique ID identifier

OBJECT_ID

NUMBER

 

18

0

No

ID of the object this question applies to

QUESTION_TEXT

VARCHAR2

4000

   

No

The text of the question

QUESTION_TYPE

VARCHAR2

25

   

No

Type of question (TEXT, NUMBER, LIST, DATE, DATETIME, YESNO, TRUEFALSE)

REQUIRED

VARCHAR2

1

   

No

Is the question required to be answered (Y or N)

ORDER_SEQ

NUMBER

     

Yes

The order of appearance for the question within the format instance

NEGATIVE_NUMBER_FORMAT

VARCHAR2

15

   

Yes

Number format to use for negative numbers (NUMBER type question only).

SCALE

VARCHAR2

15

   

Yes

Scale used for number formatting (NUMBER type question only).

THOUSANDS_SEPARATOR_FLAG

VARCHAR2

1

   

Yes

Whether or not to use the thousands separator (NUMBER type question only).

DECIMAL_PLACES

NUMBER

     

Yes

The number of decimal places (NUMBER type question only).

CURRENCY_SYMBOL

VARCHAR2

255

   

Yes

The currency symbol, if any (NUMBER type question only).

OBJECT_VERSION_NUMBER

NUMBER

 

9

0

No

Used to implement optimistic locking. This number is incremented every time 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.

LAST_UPDATE_LOGIN

NUMBER

     

Yes

Who column. Stores the login/session ID of the user who last updated this row.

LAST_UPDATE_DATE

DATE

     

No

Who column. Stores the date when this row was last updated.

LAST_UPDATED_BY

VARCHAR2

255

   

No

Who column. Stores the ID of the user who last updated this row.

CREATION_DATE

DATE

     

No

Who column. Stores the date when this row was created in the database.

CREATED_BY

VARCHAR2

255

   

No

Who column. Stores the ID of the user who created this row.

TEXT_LINES

NUMBER

     

Yes

Number of lines for a multi-line text attribute

INCLUDE_ATTACHMENTS

VARCHAR2

1

   

No

For multiline text questions: Y=Yes, N=No.

PERCENTAGE

VARCHAR2

1

   

No

Whether the question should be formatted as a percentage

Indexes

Index Uniqueness Columns

ARM_QUESTIONS_N1

NONUNIQUE

OBJECT_ID

ARM_QUESTIONS_PK

UNIQUE

QUESTION_ID

ARM_QUESTIONS_U1

NONUNIQUE

OBJECT_ID, QUESTION_ID