part_defn

The part_defn table holds all the participation records defined on the system. A participation record defines the dates and times that users are allowed to participate in a particular queue. (The part_list table defines what users are allowed to use a particular participation record.)

Structure

The part_defn table has the following structure:

TABLE part_defn (
part_id number(5) NOT NULL,
queue_name varchar2(24) NOT NULL,
days_mask varchar2(7) NOT NULL,
start_time number(4) NOT NULL,
end_time number(4) NOT NULL,
style varchar2(24) NULL,
start_date number(7) NOT NULL,
end_date number(7) NOT NULL)

Column

Description

part_id

Unique ID for this participation record.

queue_name

Name of the queue that this participation record allows users to participate in, as defined in the user_names table.

days_mask

Days of the week that users can participate in the specified queue_name. For example, -TWT-SS indicates every day except Monday or Friday.

start_time

Time of day when participation starts.

end_time

Time of day when participation ends.

style

Not used. Reserved for possible future use.

start_date

Date on which participation starts.

end_date

Date on which participation ends.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

Index Tablespace

pk_part_defn

part_id

MEDIUMINDEXSPACE

Foreign Keys

None.

Indexes

None.

Storage

The following STORAGE values are defined for this table.

Value

Definition

Initial

MEDIUMTABLESIZE

Percentage Increase

MEDIUMTABLEPCTINCREASE

Tablespace

MEDIUMTABLESPACE

Table Activity

The part_defn table contains one row for each participation record defined on the system.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

a new participation record is added.

updated

an existing participation record is updated.

deleted

an existing participation record is deleted.