pears.staffpassword

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

Used for controlling Staff password re-use.

Column Type Null Default Comment
staffpasswordid char(20) NOT NULL
staffid char(20) NOT NULL
password char(250) NULL
finishdate date NULL
  • staffpasswordid, staffid
Constraint Columns References Delete/update action
staff staffid pears.staff (staffid) NOT NULL;
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."staffpassword"
-- Table comment: Used for controlling Staff password re-use.
-- Statement count: 3
 
CREATE TABLE "pears"."staffpassword" (
    "staffpasswordid"                CHAR(20) NOT NULL
   ,"staffid"                        CHAR(20) NOT NULL
   ,"password"                       CHAR(250) NULL
   ,"finishdate"                     DATE NULL
   ,PRIMARY KEY ("staffpasswordid" ASC,"staffid" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."staffpassword" IS 
	'Used for controlling Staff password re-use.'
GO
 
 
ALTER TABLE "pears"."staffpassword"
    ADD NOT NULL FOREIGN KEY "staff" ("staffid" ASC)
    REFERENCES "pears"."staff" ("staffid")
GO
  • database/tables/pears_staffpassword.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1