pears.VacancyPosition

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

Frequently used position names - job titles.

Column Type Null Default Comment
VacancyPositionID char(20) NOT NULL
Name char(50) NOT NULL
DepartmentID char(2) NULL
SortOrder smallint NULL
  • VacancyPositionID
Constraint Columns References Delete/update action
department DepartmentID pears.Department (departmentid) ON DELETE CASCADE
  • No incoming foreign keys found.
Name Type Columns Detail
vacpos_sortorder Index DepartmentID, SortOrder, Name
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."VacancyPosition"
-- Table comment: Frequently used position names - job titles.
-- Statement count: 4
 
CREATE TABLE "pears"."VacancyPosition" (
    "VacancyPositionID"              CHAR(20) NOT NULL
   ,"Name"                           CHAR(50) NOT NULL
   ,"DepartmentID"                   CHAR(2) NULL
   ,"SortOrder"                      SMALLINT NULL
   ,PRIMARY KEY ("VacancyPositionID" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."VacancyPosition" IS 
	'Frequently used position names - job titles.'
GO
 
 
ALTER TABLE "pears"."VacancyPosition"
    ADD FOREIGN KEY "department" ("DepartmentID" ASC)
    REFERENCES "pears"."Department" ("departmentid")
    ON DELETE CASCADE
GO
 
 
CREATE INDEX "vacpos_sortorder" ON "pears"."VacancyPosition"
    ( "DepartmentID","SortOrder","Name" )
GO
  • database/tables/pears_vacancyposition.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1