====== pears.WPKImage ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Images (eg icons) Used by Woodpecker Forms.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **WPKImageID** | char(20) | NOT NULL | | |
| Name | char(50) | NOT NULL | | |
| Image | long binary | NULL | | |
| Notes | long varchar | NULL | | |
===== Primary Key =====
* WPKImageID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
* No incoming foreign keys found.
===== Indexes =====
* No indexes found.
===== Triggers =====
^ Name ^ Timing ^ Event ^
| WPKTrackImageChange | after | insert,delete,update order 1 |
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."WPKImage"
-- Table comment: Images (eg icons) Used by Woodpecker Forms.
-- Statement count: 4
CREATE TABLE "pears"."WPKImage" (
"WPKImageID" char(20) NOT NULL
,"Name" char(50) NOT NULL
,"Image" long binary NULL
,"Notes" long varchar NULL
,PRIMARY KEY ("WPKImageID" ASC)
)
go
COMMENT ON TABLE "pears"."WPKImage" IS
'Images (eg icons) Used by Woodpecker Forms.'
go
create trigger "WPKTrackImageChange" after insert,delete,update order 1 on
"pears"."WPKImage"
for each statement
begin
call "WPKTrackChange"('I','*')
end
go
COMMENT TO PRESERVE FORMAT ON TRIGGER "pears"."WPKImage"."WPKTrackImageChange" IS
{create trigger WPKTrackImageChange
after insert,delete,update order 1 on
WPKImage
for each statement
begin
call WPKTrackChange('I','*')
end
}
go