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.ReferenceMaster ====== <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 ===== Template for online referencing. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **ReferenceMasterID** | char(20) | NOT NULL | | | | DepartmentID | char(2) | NOT NULL | | | | ReferenceMasterName | char(100) | NOT NULL | | | | sortorder | smallint | NULL | | | ===== Primary Key ===== * ReferenceMasterID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | department | DepartmentID | [[database:tables:pears_department|pears.Department (departmentid)]] | NOT NULL; | ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_deletedreferencemasterquestion|pears.DeletedReferenceMasterQuestion]] | ReferenceMaster | ReferenceMasterID | ReferenceMasterID | | [[database:tables:pears_referencemasterquestion|pears.ReferenceMasterQuestion]] | ReferenceMaster | ReferenceMasterID | ReferenceMasterID | | [[database:tables:pears_referencerequest|pears.ReferenceRequest]] | ReferenceMaster | ReferenceMasterID | ReferenceMasterID | ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."ReferenceMaster" -- Table comment: Template for online referencing. -- Statement count: 3 CREATE TABLE "pears"."ReferenceMaster" ( "ReferenceMasterID" char(20) NOT NULL ,"DepartmentID" char(2) NOT NULL ,"ReferenceMasterName" char(100) NOT NULL ,"sortorder" smallint NULL ,PRIMARY KEY ("ReferenceMasterID" ASC) ) go COMMENT ON TABLE "pears"."ReferenceMaster" IS 'Template for online referencing.' go ALTER TABLE "pears"."ReferenceMaster" ADD NOT NULL FOREIGN KEY "department" ("DepartmentID" ASC) REFERENCES "pears"."Department" ("departmentid") go </code> database/tables/pears_referencemaster.txt Last modified: 2026/08/07 19:24by 127.0.0.1