Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.TempHoliday ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== A way of recording branch holidays - not used ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **TempHolidayID** | char(20) | NOT NULL | | | | HolidayDate | date | NOT NULL | | | | agencyid | char(20) | NULL | | | | ClientCode | char(12) | NULL | | Referred to by company.tempholidaycode for client specific holidays | ===== Primary Key ===== * TempHolidayID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | agencydetails | agencyid | [[database:tables:pears_agencydetails|pears.agencydetails (agencyid)]] | ON DELETE SET NULL | ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | TempHolidayDate | Index | HolidayDate | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."TempHoliday" -- Table comment: A way of recording branch holidays - not used -- Statement count: 5 CREATE TABLE "pears"."TempHoliday" ( "TempHolidayID" char(20) NOT NULL ,"HolidayDate" date NOT NULL ,"agencyid" char(20) NULL ,"ClientCode" char(12) NULL ,PRIMARY KEY ("TempHolidayID" ASC) ) go COMMENT ON COLUMN "pears"."TempHoliday"."ClientCode" IS 'Referred to by company.tempholidaycode for client specific holidays' go COMMENT ON TABLE "pears"."TempHoliday" IS 'A way of recording branch holidays - not used' go ALTER TABLE "pears"."TempHoliday" ADD FOREIGN KEY "agencydetails" ("agencyid" ASC) REFERENCES "pears"."agencydetails" ("agencyid") ON DELETE SET NULL go CREATE INDEX "TempHolidayDate" ON "pears"."TempHoliday" ( "HolidayDate" ) go </code> database/tables/pears_tempholiday.txt Last modified: 2026/08/07 19:24by 127.0.0.1