pears.IQXNetPageText
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Used to store the pagetext and their values
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| IQXNetPageTextID | char(50) | NOT NULL | ||
| PageText | long varchar | NULL | ||
| UpdatedFlag | tinyint | NULL | ||
| TransferFlag | tinyint | NULL |
Primary Key
- IQXNetPageTextID
Foreign Keys
- No outgoing foreign keys found.
Referenced By
- No incoming foreign keys found.
Indexes
- No indexes found.
Triggers
| Name | Timing | Event |
|---|---|---|
| IQXNetPageTextInsert | before | insert order 1 |
| IQXNetPageTextUpdate | before | update of “PageText” order 1 |
Original SQL
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IQXNetPageText" -- Table comment: Used to store the pagetext and their values -- Statement count: 6 CREATE TABLE "pears"."IQXNetPageText" ( "IQXNetPageTextID" CHAR(50) NOT NULL ,"PageText" long VARCHAR NULL ,"UpdatedFlag" tinyint NULL ,"TransferFlag" tinyint NULL ,PRIMARY KEY ("IQXNetPageTextID" ASC) ) GO COMMENT ON TABLE "pears"."IQXNetPageText" IS 'Used to store the pagetext and their values' GO CREATE TRIGGER "IQXNetPageTextInsert" BEFORE INSERT ORDER 1 ON "pears"."IQXNetPageText" REFERENCING NEW AS "new_page" FOR each ROW BEGIN SET "new_page"."UpdatedFlag" = 1 END GO COMMENT TO PRESERVE FORMAT ON TRIGGER "pears"."IQXNetPageText"."IQXNetPageTextInsert" IS {CREATE TRIGGER IQXNetPageTextInsert BEFORE INSERT ORDER 1 ON IQXNetPageText REFERENCING NEW AS new_page FOR each ROW BEGIN SET new_page.UpdatedFlag=1 END } GO CREATE TRIGGER "IQXNetPageTextUpdate" BEFORE UPDATE OF "PageText" ORDER 1 ON "pears"."IQXNetPageText" REFERENCING NEW AS "new_page" FOR each ROW BEGIN SET "new_page"."UpdatedFlag" = 1 END GO COMMENT TO PRESERVE FORMAT ON TRIGGER "pears"."IQXNetPageText"."IQXNetPageTextUpdate" IS {CREATE TRIGGER IQXNetPageTextUpdate BEFORE UPDATE OF PageText ORDER 1 ON IQXNetPageText REFERENCING NEW AS new_page FOR each ROW BEGIN SET new_page.UpdatedFlag=1 END } GO