Table of Contents



pears.PlacementTransfer

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

Description

REDUNDANT

Columns

Column Type Null Default Comment
PlacementID char(20) NOT NULL
TransferBatch integer NOT NULL
Salary numeric(12,2) NULL
Fee numeric(12,2) NULL
CreditTransferBatch integer NULL

Primary Key

Foreign Keys

Constraint Columns References Delete/update action
Placement PlacementID pears.Placement (placementid) NOT NULL; ON DELETE CASCADE

Referenced By

Indexes

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."PlacementTransfer"
-- Table comment: REDUNDANT
-- Statement count: 3
 
CREATE TABLE "pears"."PlacementTransfer" (
    "PlacementID"                    CHAR(20) NOT NULL
   ,"TransferBatch"                  INTEGER NOT NULL
   ,"Salary"                         NUMERIC(12,2) NULL
   ,"Fee"                            NUMERIC(12,2) NULL
   ,"CreditTransferBatch"            INTEGER NULL
   ,PRIMARY KEY ("PlacementID" ASC,"TransferBatch" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."PlacementTransfer" IS 
	'REDUNDANT'
GO
 
 
ALTER TABLE "pears"."PlacementTransfer"
    ADD NOT NULL FOREIGN KEY "Placement" ("PlacementID" ASC)
    REFERENCES "pears"."Placement" ("placementid")
    ON DELETE CASCADE
GO