Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Used to store each report and the permissions for each web report
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| IQXNetReportID | char(20) | NOT NULL | ||
| Description | char(100) | NOT NULL | ||
| DBProcedure | char(100) | NOT NULL | ||
| IQXNetUserClassID | char(20) | NULL | If null then NOT available | |
| IQXNetRightID | char(20) | NULL | If null then available to all | |
| SortOrder | smallint | NULL |
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| IQXNetUserClass | IQXNetUserClassID | pears.IQXNetUserClass (IQXNetUserClassID) | ON DELETE SET NULL |
| IQXNetRight | IQXNetRightID | pears.IQXNetRight (IQXNetRightID) | ON DELETE SET NULL |
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IQXNetReport" -- Table comment: Used to store each report and the permissions for each web report -- Statement count: 6 CREATE TABLE "pears"."IQXNetReport" ( "IQXNetReportID" CHAR(20) NOT NULL ,"Description" CHAR(100) NOT NULL ,"DBProcedure" CHAR(100) NOT NULL ,"IQXNetUserClassID" CHAR(20) NULL ,"IQXNetRightID" CHAR(20) NULL ,"SortOrder" SMALLINT NULL ,PRIMARY KEY ("IQXNetReportID" ASC) ) GO COMMENT ON COLUMN "pears"."IQXNetReport"."IQXNetUserClassID" IS 'If null then NOT available' GO COMMENT ON COLUMN "pears"."IQXNetReport"."IQXNetRightID" IS 'If null then available to all' GO COMMENT ON TABLE "pears"."IQXNetReport" IS 'Used to store each report and the permissions for each web report' GO ALTER TABLE "pears"."IQXNetReport" ADD FOREIGN KEY "IQXNetUserClass" ("IQXNetUserClassID" ASC) REFERENCES "pears"."IQXNetUserClass" ("IQXNetUserClassID") ON DELETE SET NULL GO ALTER TABLE "pears"."IQXNetReport" ADD FOREIGN KEY "IQXNetRight" ("IQXNetRightID" ASC) REFERENCES "pears"."IQXNetRight" ("IQXNetRightID") ON DELETE SET NULL GO