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.IQXNetTagGroupMember ====== <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 ===== The Questions that go into the above groups ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **IQXNetTagGroupID** | char(20) | NOT NULL | | | | **TagLocation** | char(3) | NOT NULL | | | | **TagID** | char(3) | NOT NULL | | | | SortOrder | integer | NULL | | | | Description | char(100) | NULL | | Null indicates use tag description | | Required | smallint | NULL | | Null indicates take default from tag table | | ReadOnly | smallint | NULL | | Allows readonly fields mixed with editable in a tag group | ===== Primary Key ===== * IQXNetTagGroupID, TagLocation, TagID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | IQXNetTagGroup | IQXNetTagGroupID | [[database:tables:pears_iqxnettaggroup|pears.IQXNetTagGroup (IQXNetTagGroupID)]] | NOT NULL; ON DELETE CASCADE | | tag | TagLocation, TagID | [[database:tables:pears_tag|pears.tag (taglocation, tagid)]] | NOT NULL; ON DELETE CASCADE | ===== 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"."IQXNetTagGroupMember" -- Table comment: The Questions that go into the above groups -- Statement count: 7 CREATE TABLE "pears"."IQXNetTagGroupMember" ( "IQXNetTagGroupID" char(20) NOT NULL ,"TagLocation" char(3) NOT NULL ,"TagID" char(3) NOT NULL ,"SortOrder" integer NULL ,"Description" char(100) NULL ,"Required" smallint NULL ,"ReadOnly" smallint NULL ,PRIMARY KEY ("IQXNetTagGroupID" ASC,"TagLocation" ASC,"TagID" ASC) ) go COMMENT ON COLUMN "pears"."IQXNetTagGroupMember"."Description" IS 'Null indicates use tag description' go COMMENT ON COLUMN "pears"."IQXNetTagGroupMember"."Required" IS 'Null indicates take default from tag table' go COMMENT ON COLUMN "pears"."IQXNetTagGroupMember"."ReadOnly" IS 'Allows readonly fields mixed with editable in a tag group' go COMMENT ON TABLE "pears"."IQXNetTagGroupMember" IS 'The Questions that go into the above groups' go ALTER TABLE "pears"."IQXNetTagGroupMember" ADD NOT NULL FOREIGN KEY "IQXNetTagGroup" ("IQXNetTagGroupID" ASC) REFERENCES "pears"."IQXNetTagGroup" ("IQXNetTagGroupID") ON DELETE CASCADE go ALTER TABLE "pears"."IQXNetTagGroupMember" ADD NOT NULL FOREIGN KEY "tag" ("TagLocation" ASC,"TagID" ASC) REFERENCES "pears"."tag" ("taglocation","tagid") ON DELETE CASCADE go </code> database/tables/pears_iqxnettaggroupmember.txt Last modified: 2026/08/07 19:24by 127.0.0.1