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.SegmentTarget ====== <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 ===== For reporting on consultant performance using placement nominal code segments against the segment targets. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **SegmentTargetID** | char(20) | NOT NULL | | | | NominalSegmentID | char(20) | NOT NULL | | | | Period | integer | NOT NULL | | | | PlacementCount | double | NULL | | | | FeeAmount | double | NULL | | | | Exclude | smallint | NULL | | | ===== Primary Key ===== * SegmentTargetID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | NominalSegment | NominalSegmentID | [[database:tables:pears_nominalsegment|pears.NominalSegment (NominalSegmentID)]] | NOT NULL; ON DELETE CASCADE | ===== Referenced By ===== * No incoming foreign keys found. ===== 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"."SegmentTarget" -- Table comment: For reporting on consultant performance using placement nominal code segments against the segment targets. -- Statement count: 3 CREATE TABLE "pears"."SegmentTarget" ( "SegmentTargetID" char(20) NOT NULL ,"NominalSegmentID" char(20) NOT NULL ,"Period" integer NOT NULL ,"PlacementCount" double NULL ,"FeeAmount" double NULL ,"Exclude" smallint NULL ,PRIMARY KEY ("SegmentTargetID" ASC) ) go COMMENT ON TABLE "pears"."SegmentTarget" IS 'For reporting on consultant performance using placement nominal code segments against the segment targets.' go ALTER TABLE "pears"."SegmentTarget" ADD NOT NULL FOREIGN KEY "NominalSegment" ("NominalSegmentID" ASC) REFERENCES "pears"."NominalSegment" ("NominalSegmentID") ON DELETE CASCADE go </code> database/tables/pears_segmenttarget.txt Last modified: 2026/08/07 19:24by 127.0.0.1