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.IQXNetReport ====== <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 ===== Used to store each report and the permissions for each web report ===== Columns ===== ^ 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 | | | ===== Primary Key ===== * IQXNetReportID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | IQXNetUserClass | IQXNetUserClassID | [[database:tables:pears_iqxnetuserclass|pears.IQXNetUserClass (IQXNetUserClassID)]] | ON DELETE SET NULL | | IQXNetRight | IQXNetRightID | [[database:tables:pears_iqxnetright|pears.IQXNetRight (IQXNetRightID)]] | ON DELETE SET NULL | ===== 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"."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 </code> database/tables/pears_iqxnetreport.txt Last modified: 2026/08/07 19:24by 127.0.0.1