====== pears.BatchTransfers ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Records of transfer jobs etc. Maintained by the individual processes.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **BatchType** | char(12) | NOT NULL | | Include T if timesheets might be in batch |
| **BatchNumber** | integer | NOT NULL | | |
| TransferTime | timestamp | NOT NULL | | |
| Note | long varchar | NULL | | |
===== Primary Key =====
* BatchType, BatchNumber
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
* No incoming foreign keys found.
===== Indexes =====
^ Name ^ Type ^ Columns ^ Detail ^
| BatchTransfers_Number | Index | BatchNumber | |
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."BatchTransfers"
-- Table comment: Records of transfer jobs etc. Maintained by the individual processes.
-- Statement count: 4
CREATE TABLE "pears"."BatchTransfers" (
"BatchType" char(12) NOT NULL
,"BatchNumber" integer NOT NULL
,"TransferTime" timestamp NOT NULL
,"Note" long varchar NULL
,PRIMARY KEY ("BatchType" ASC,"BatchNumber" ASC)
)
go
COMMENT ON COLUMN "pears"."BatchTransfers"."BatchType" IS
'Include T if timesheets might be in batch'
go
COMMENT ON TABLE "pears"."BatchTransfers" IS
'Records of transfer jobs etc. Maintained by the individual processes.'
go
CREATE INDEX "BatchTransfers_Number" ON "pears"."BatchTransfers"
( "BatchNumber" )
go