pears.criterionSQLFragment
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Stores sql of requirements so it can be used in jobs
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| searchlocation | char(3) | NOT NULL | Type of parent record which has id as its pk | |
| id | char(20) | NOT NULL | ID of parent record | |
| SQLFragment | long varchar | NULL |
Primary Key
- searchlocation, id
Foreign Keys
- No outgoing foreign keys found.
Referenced By
- No incoming foreign keys found.
Indexes
- No indexes found.
Triggers
- No triggers found.
Original SQL
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."criterionSQLFragment" -- Table comment: Stores sql of requirements so it can be used in jobs -- Statement count: 4 CREATE TABLE "pears"."criterionSQLFragment" ( "searchlocation" CHAR(3) NOT NULL ,"id" CHAR(20) NOT NULL ,"SQLFragment" long VARCHAR NULL ,PRIMARY KEY ("searchlocation" ASC,"id" ASC) ) GO COMMENT ON COLUMN "pears"."criterionSQLFragment"."searchlocation" IS 'Type of parent record which has id as its pk' GO COMMENT ON COLUMN "pears"."criterionSQLFragment"."id" IS 'ID of parent record' GO COMMENT ON TABLE "pears"."criterionSQLFragment" IS 'Stores sql of requirements so it can be used in jobs' GO