====== pears.PeakSearchResult ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **PeakSearchResultID** | char(20) | NOT NULL | | | | VacancyID | char(20) | NULL | | | | PersonID | char(20) | NULL | | | | Score | smallint | NULL | | | | InstanceID | char(20) | NULL | | | ===== Primary Key ===== * PeakSearchResultID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | PeakbyVacancy | Index | VacancyID | | | PeakbyInstance | Index | InstanceID | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."PeakSearchResult" -- Table comment: -- Statement count: 3 CREATE GLOBAL TEMPORARY TABLE "pears"."PeakSearchResult" ( "PeakSearchResultID" char(20) NOT NULL ,"VacancyID" char(20) NULL ,"PersonID" char(20) NULL ,"Score" smallint NULL ,"InstanceID" char(20) NULL ,PRIMARY KEY ("PeakSearchResultID" ASC) ) NOT TRANSACTIONAL go CREATE INDEX "PeakbyVacancy" ON "pears"."PeakSearchResult" ( "VacancyID" DESC ) go CREATE INDEX "PeakbyInstance" ON "pears"."PeakSearchResult" ( "InstanceID" DESC ) go