pears.rejectionreason
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Optional rejection reasons offered when a candidate is rejected.
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| rejectreasonid | char(20) | NOT NULL | ||
| reason | char(25) | NOT NULL | ||
| sortorder | smallint | NULL |
Primary Key
- rejectreasonid
Foreign Keys
- No outgoing foreign keys found.
Referenced By
- No incoming foreign keys found.
Indexes
| Name | Type | Columns | Detail |
|---|---|---|---|
| rejectionreason_sortorder | Index | sortorder | |
| rejectionreason_reason | Index | reason |
Triggers
| Name | Timing | Event |
|---|---|---|
| WPK_rejectionreason_REJECTREASON | after | insert,delete,update order 1 |
Original SQL
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."rejectionreason" -- Table comment: Optional rejection reasons offered when a candidate is rejected. -- Statement count: 6 CREATE TABLE "pears"."rejectionreason" ( "rejectreasonid" CHAR(20) NOT NULL ,"reason" CHAR(25) NOT NULL ,"sortorder" SMALLINT NULL ,PRIMARY KEY ("rejectreasonid" ASC) ) GO COMMENT ON TABLE "pears"."rejectionreason" IS 'Optional rejection reasons offered when a candidate is rejected.' GO CREATE INDEX "rejectionreason_sortorder" ON "pears"."rejectionreason" ( "sortorder" ) GO CREATE INDEX "rejectionreason_reason" ON "pears"."rejectionreason" ( "reason" ) GO CREATE TRIGGER "WPK_rejectionreason_REJECTREASON" after INSERT,DELETE,UPDATE ORDER 1 ON "pears"."rejectionreason" FOR each statement BEGIN CALL "WPKTrackChange"('P','REJECTREASON') END GO COMMENT TO PRESERVE FORMAT ON TRIGGER "pears"."rejectionreason"."WPK_rejectionreason_REJECTREASON" IS {CREATE TRIGGER WPK_rejectionreason_REJECTREASON after INSERT,DELETE,UPDATE ORDER 1 ON rejectionreason FOR each statement BEGIN CALL WPKTrackChange('P','REJECTREASON') END } GO