pears.StaffNote

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

Column Type Null Default Comment
StaffNoteID char(20) NOT NULL
DivisionID char(20) NULL
Note long varchar NULL
WhenCreated timestamp NOT NULL current timestamp
WhoEntered char(20) NULL
  • StaffNoteID
Constraint Columns References Delete/update action
Division DivisionID pears.Division (divisionid) ON DELETE CASCADE
Table Constraint Columns Referenced columns
pears.StaffNoteRead StaffNote StaffNoteID StaffNoteID
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."StaffNote"
-- Table comment: 
-- Statement count: 2
 
CREATE TABLE "pears"."StaffNote" (
    "StaffNoteID"                    CHAR(20) NOT NULL
   ,"DivisionID"                     CHAR(20) NULL
   ,"Note"                           long VARCHAR NULL
   ,"WhenCreated"                    TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP
   ,"WhoEntered"                     CHAR(20) NULL
   ,PRIMARY KEY ("StaffNoteID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."StaffNote"
    ADD FOREIGN KEY "Division" ("DivisionID" ASC)
    REFERENCES "pears"."Division" ("divisionid")
    ON DELETE CASCADE
GO
  • database/tables/pears_staffnote.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1