pears.TempHoliday

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

A way of recording branch holidays - not used

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
  • TempHolidayID
Constraint Columns References Delete/update action
agencydetails agencyid pears.agencydetails (agencyid) ON DELETE SET NULL
  • No incoming foreign keys found.
Name Type Columns Detail
TempHolidayDate Index HolidayDate
  • No triggers found.
-- 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
  • database/tables/pears_tempholiday.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1