====== 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