| Server Settings | |
| Table | Row Count |
| Server Name | PUDDY |
| Instance | MSSQLSERVER |
| Current Date Time | 09 Mar 2006 15:23:56:217 |
| User | dbo |
| Number of connections | 347 |
| Language | us_english |
| Language Id | 0 |
| Lock Timeout | -1 |
| Maximum of connections | 32767 |
| CPU Busy | 100 |
| CPU Idle | 37712 |
| IO Busy | 46 |
| Packets received | 1561162 |
| Packets sent | 1608037 |
| Packets w errors | 0 |
| TimeTicks | 31250 |
| IO Errors | 0 |
| Total Read | 651275 |
| Total Write | 1749130 |
| Database Settings | |
| Option | Setting |
| Name | DGM_MPX_020706 |
| autoclose | False |
| select into/bulkcopy | False |
| trunc. log on chkpt | False |
| torn page detection | True |
| loading | False |
| pre recovery | False |
| recovering | False |
| Falset recovered | False |
| offline | False |
| read only | False |
| dbo use only | False |
| single user | False |
| emergency mode | False |
| autoshrink | False |
| cleanly shutdown | False |
| ANSI null default | False |
| concat null yields null | False |
| recursive triggers | False |
| default to local cursor | False |
| quoted identifier | False |
| cursor close on commit | False |
| ANSI nulls | False |
| ANSI warnings | False |
| full text enabled | False |
| Data Path | C:\Backup\DGM\200602071630_DG.bakDGM_MPX_020706.mdf |
| Last Backup | |
| Days Since Last Backup | |
| Users | |||||
| Login Name | User Name | Group Name | |||
| mpxsql | mpxsql | mpxuser_role | |||
| AccountingSetup | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| CodeType | varchar | 50 | 50 | 0 | ||
| CodeValue | varchar | 50 | 50 | 0 | ||
| Type | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 200 | 200 | 1 | ||
| Category | varchar | 50 | 50 | 0 | ||
| Fund | varchar | 50 | 50 | 0 | ||
| GLAcct | varchar | 50 | 50 | 0 | ||
| CC | varchar | 50 | 50 | 0 | ||
| ProjCode | varchar | 50 | 50 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_AccountingSetup | CodeType, CodeValue, Type | |||||||
| AcctRecv | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| BatchNbr | bigint | 8 | 19 | 0 | 1 | |
| Rdate | datetime | 8 | 23 | 3 | 0 | |
| Type | varchar | 1 | 1 | 0 | ||
| Descript | varchar | 100 | 100 | 1 | ||
| Status | varchar | 1 | 1 | 1 | ||
| Amt | money | 8 | 19 | 4 | 0 | |
| OrdNbr | bigint | 8 | 19 | 0 | 1 | |
| ADate | datetime | 8 | 23 | 3 | 1 | |
| CurrCode | varchar | 8 | 8 | 1 | ||
| ConvRate | float | 8 | 53 | 1 | ||
| AcctRecvID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_AcctRecv_Entity | AcctRecv | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_AcctRecv | AcctRecvID | |||||||
| IDX_AcctRecv_Ordnbr | OrdNbr | |||||||
| IDX_BatchNbr_Type_AcctRecv | BatchNbr, Type | |||||||
| AcctRecvHistory | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| CurrYear | int | 4 | 10 | 0 | 0 | |
| CurrMonth | int | 4 | 10 | 0 | 0 | |
| Amt | money | 8 | 19 | 4 | 0 | |
| AcctRecvHistoryID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_AcctRecvHistory_Entity | AcctRecvHistory | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| AcctRecvHistory | ||||||||
| PK_AcctRecvHistory | AcctRecvHistoryID | |||||||
| IDX_AcctRecvHistory | EntityID, CurrYear, CurrMonth | |||||||
| April_2005_VP_Mailing | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| April_2005_VP_Mailing | ||||||||
| April_2005_VP_Mailing2 | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| April_2005_VP_Mailing2 | ||||||||
| April_2005_VP_Mailing3 | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| April_2005_VP_Mailing3 | ||||||||
| AuditLog | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| AuditTrailID | bigint | 8 | 19 | 0 | 0 | |
| Descript | varchar | 2000 | 2000 | 0 | ||
| AddUserID | bigint | 8 | 19 | 0 | 0 | |
| AddDate | datetime | 8 | 23 | 3 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_AuditLog_ChangeDate | AuditLog | AddDate | (getdate()) | |||
| Foreign Key | FK_AuditLog_tblUser | AuditLog | AddUserID | tblUser | userID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_AuditLog | AuditTrailID | |||||||
| BackOrderPrint | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| BackOrderPrintID | bigint | 8 | 19 | 0 | 0 | |
| Ordnbr | bigint | 8 | 19 | 0 | 0 | |
| Bdate | datetime | 8 | 23 | 3 | 1 | |
| LDate | datetime | 8 | 23 | 3 | 1 | |
| Pdate | datetime | 8 | 23 | 3 | 1 | |
| Prtgrp | int | 4 | 10 | 0 | 1 | |
| Prtstatus | varchar | 1 | 1 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_BackOrderPrint | BackOrderPrintID | |||||||
| Backorders | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| BackOrdersID | bigint | 8 | 19 | 0 | 0 | |
| OrdNbr | bigint | 8 | 19 | 0 | 0 | |
| BDate | datetime | 8 | 23 | 3 | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_BackOrders | BackOrdersID | |||||||
| Batches | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| BatchNbr | bigint | 8 | 19 | 0 | 0 | |
| BDate | datetime | 8 | 23 | 3 | 1 | |
| GLDate | datetime | 8 | 23 | 3 | 1 | |
| Fund | varchar | 50 | 50 | 1 | ||
| GlAcct | varchar | 50 | 50 | 1 | ||
| CC | varchar | 50 | 50 | 1 | ||
| ProjCode | varchar | 50 | 50 | 1 | ||
| Category | varchar | 50 | 50 | 1 | ||
| CurrCode | varchar | 8 | 8 | 1 | ||
| ConvRate | float | 8 | 53 | 1 | ||
| ControlAmt | money | 8 | 19 | 4 | 1 | |
| ActualAmt | money | 8 | 19 | 4 | 1 | |
| Status | varchar | 1 | 1 | 1 | ||
| DefMotvCode | varchar | 50 | 50 | 1 | ||
| DefFundId | varchar | 50 | 50 | 1 | ||
| DefPldgCode | varchar | 50 | 50 | 1 | ||
| DefPayCode | varchar | 50 | 50 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| AddSite | varchar | 2 | 2 | 1 | ||
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| ApplyDate | datetime | 8 | 23 | 3 | 1 | |
| Type1 | varchar | 50 | 50 | 1 | ||
| Type2 | varchar | 50 | 50 | 1 | ||
| ActualNbr | int | 4 | 10 | 0 | 1 | |
| ControlNbr | int | 4 | 10 | 0 | 1 | |
| BatchStatus | varchar | 12 | 12 | 1 | ||
| ChangeUserID | bigint | 8 | 19 | 0 | 1 | |
| ChangeDate | smalldatetime | 4 | 16 | 0 | 1 | |
| BankID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_Batches | Batches | BatchNbr | GiftHeader | BatchNbr | 1 | |
| Primary Key | PK_Batches | Batches | BatchNbr | OrderHeader | BatchNbr | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Batches | BatchNbr | |||||||
| IDX_Batches_Status | Status | |||||||
| BatchesRecur | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Type | varchar | 50 | 50 | 1 | ||
| DateUsed | datetime | 8 | 23 | 3 | 1 | |
| CurrCode | varchar | 50 | 50 | 1 | ||
| BatchRecurID | bigint | 8 | 19 | 0 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_BatchesRecur | BatchRecurID | |||||||
| CanPostCodes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| postCode | varchar | 10 | 10 | 0 | ||
| city | varchar | 40 | 40 | 0 | ||
| provinceD | varchar | 40 | 40 | 0 | ||
| province | varchar | 2 | 2 | 0 | ||
| _dummy_ | varchar | 1 | 1 | 0 | ||
| lat | float | 8 | 53 | 0 | ||
| lng | float | 8 | 53 | 0 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| CanPostCodes | ||||||||
| CDGcat05 | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| CDGcat05 | ||||||||
| ChargeHistory | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ChargeHistoryID | bigint | 8 | 19 | 0 | 0 | |
| TransID | bigint | 8 | 19 | 0 | 0 | |
| TransType | varchar | 1 | 1 | 0 | ||
| TDate | datetime | 8 | 23 | 3 | 0 | |
| Source | varchar | 1 | 1 | 0 | ||
| Status | varchar | 1 | 1 | 0 | ||
| ChargeType | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| PrtGrp | bigint | 8 | 19 | 0 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ChargeHistory | ChargeHistoryID, TransID, PrtGrp | |||||||
| IX_StatusSource | Status, Source | |||||||
| Codes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| DataType | varchar | 8 | 8 | 0 | ||
| CodeType | varchar | 50 | 50 | 0 | ||
| CodeValue | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 80 | 80 | 1 | ||
| Code1 | varchar | 8 | 8 | 1 | ||
| Code2 | varchar | 8 | 8 | 1 | ||
| Nbr1 | int | 4 | 10 | 0 | 1 | |
| Nbr2 | int | 4 | 10 | 0 | 1 | |
| AddData | char | 30 | 30 | 1 | ||
| Amt1 | float | 8 | 53 | 1 | ||
| AMt2 | float | 8 | 53 | 1 | ||
| AddMemo | text | 16 | 1 | |||
| Status | char | 1 | 1 | 1 | ||
| Note | varchar | 2000 | 2000 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Codes | DataType, CodeType, CodeValue | |||||||
| tCodes | ||||||||
| CodeTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| codeTypesID | bigint | 8 | 19 | 0 | 0 | |
| CodeType | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Secured | bit | 1 | 1 | 0 | 1 | |
| Descript | varchar | 200 | 200 | 1 | ||
| Note | varchar | 2000 | 2000 | 1 | ||
| DataType | varchar | 50 | 50 | 0 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_CodeTypes | CodeType, DataType | |||||||
| Dates | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| CodeType | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| DataType | varchar | 50 | 50 | 0 | ||
| Inactive | bit | 1 | 1 | 0 | 0 | |
| Reminder | varchar | 50 | 50 | 0 | ||
| Secured | bit | 1 | 1 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__Dates__Inactive__3EDC53F0 | Dates | Inactive | (0) | |||
| Default | DF__Dates__Reminder__3FD07829 | Dates | Reminder | ('One Time') | |||
| Default | DF__Dates__Secured__42ACE4D4 | Dates | Secured | (0) | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Dates | DataType, CodeType | |||||||
| DeliveryMethods | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Delivery_method_id | bigint | 8 | 19 | 0 | 0 | |
| Delivery_method | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK__DeliveryMethods__09A971A2 | DeliveryMethods | Delivery_method_id | MediaPlacements | Delivery_method_id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__DeliveryMethods__09A971A2 | Delivery_method_id | |||||||
| DMA | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| DMA_Id | bigint | 8 | 19 | 0 | 0 | |
| DMA_name | varchar | 50 | 50 | 0 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_DMA | DMA | DMA_Id | DMADefinitions | DMA_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| DMA | ||||||||
| PK_DMA | DMA_Id | |||||||
| DMADefinitions | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| DMA_Id | bigint | 8 | 19 | 0 | 0 | |
| DMA_zip | varchar | 12 | 12 | 0 | ||
| County | varchar | 50 | 50 | 1 | ||
| State | varchar | 50 | 50 | 1 | ||
| Metro | bit | 1 | 1 | 0 | 0 | |
| DMA | bit | 1 | 1 | 0 | 0 | |
| TSA | bit | 1 | 1 | 0 | 0 | |
| TableId | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_DMADefinitions_DMA | DMADefinitions | DMA | (0) | |||
| Default | DF_DMADefinitions_Metro | DMADefinitions | Metro | (0) | |||
| Default | DF_DMADefinitions_TSA | DMADefinitions | TSA | (0) | |||
| Foreign Key | FK_DMADefinitions_DMA | DMADefinitions | DMA_Id | DMA | DMA_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_DMADefinitions | TableId | |||||||
| IDX_DMA_id_DMA_Zip | DMA_Id, DMA_zip | |||||||
| Entity | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| OrgFlag | varchar | 50 | 50 | 1 | ||
| Title | varchar | 50 | 50 | 1 | ||
| FirstName | varchar | 50 | 50 | 1 | ||
| LastName | varchar | 50 | 50 | 1 | ||
| Suffix | varchar | 50 | 50 | 1 | ||
| Spouse | varchar | 50 | 50 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| AddSite | varchar | 50 | 50 | 1 | ||
| AddUserId | bigint | 8 | 19 | 0 | 1 | |
| ChgDate | datetime | 8 | 23 | 3 | 1 | |
| ChgSIte | varchar | 50 | 50 | 1 | ||
| ChgUserId | bigint | 8 | 19 | 0 | 1 | |
| AltAddrActive | varchar | 1 | 1 | 1 | ||
| SoundCode | int | 4 | 10 | 0 | 1 | |
| LockID | bigint | 8 | 19 | 0 | 1 | |
| LockBreakID | bigint | 8 | 19 | 0 | 1 | |
| OrganizationName | varchar | 100 | 100 | 1 | ||
| Active | varchar | 1 | 1 | 1 | ||
| MiddleName | varchar | 20 | 20 | 1 | ||
| Address1 | varchar | 50 | 50 | 1 | ||
| Address2 | varchar | 50 | 50 | 1 | ||
| Address3 | varchar | 50 | 50 | 1 | ||
| City | varchar | 50 | 50 | 1 | ||
| State | varchar | 50 | 50 | 1 | ||
| PostalCode | varchar | 50 | 50 | 1 | ||
| Country | varchar | 50 | 50 | 1 | ||
| IncludeOrgName | int | 4 | 10 | 0 | 1 | |
| DefaultEmail | varchar | 350 | 350 | 1 | ||
| DefaultPhone | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__Entity__AcctBal__1C1D2798 | Entity | AcctBal | (0) | |||
| Default | DF__Entity__Active__787EE5A0 | Entity | Active | (1) | |||
| Primary Key | PK_Entity | Entity | EntityID | AcctRecv | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | AcctRecvHistory | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityACH | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityAddresses | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityAttachments | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityCodes | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityCorrespond | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityCreditCards | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityDates | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityEmail | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityFinancials | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityNotes | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityPhone | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntityRelationships | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | EntitySalutation | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | GiftDetail | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | GiftHeader | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | GiftRecurring | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | GiftRelated | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | MediaContacts | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | OrderAnnual | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | OrderSubscriptions | EntityID | 1 | |
| Primary Key | PK_Entity | Entity | EntityID | OrderSummary | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Entity | EntityID | |||||||
| IDX_Entity_PeopleSearch | EntityID, FirstName, LastName, Spouse, OrganizationName, MiddleName, Address1, City, State, PostalCode, Country, DefaultEmail | |||||||
| EntityACH | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityACHID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| AchType | varchar | 50 | 50 | 0 | ||
| RoutingNbr | varchar | 16 | 16 | 0 | ||
| BankNbr | varchar | 16 | 16 | 0 | ||
| Bank | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityACH_Entity | EntityACH | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityACH | EntityACHID | |||||||
| IDX_EntityACH_Entity | EntityID | |||||||
| EntityAddresses | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityAddressID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| AddressType | varchar | 50 | 50 | 1 | ||
| Address1 | varchar | 50 | 50 | 1 | ||
| Address2 | varchar | 50 | 50 | 1 | ||
| Address3 | varchar | 50 | 50 | 1 | ||
| City | varchar | 50 | 50 | 1 | ||
| State | varchar | 50 | 50 | 1 | ||
| PostalCode | varchar | 50 | 50 | 1 | ||
| Country | varchar | 50 | 50 | 1 | ||
| ActiveDate | smalldatetime | 4 | 16 | 0 | 1 | |
| InactiveDate | smalldatetime | 4 | 16 | 0 | 1 | |
| PrimaryAddress | int | 4 | 10 | 0 | 1 | |
| Recurrance | int | 4 | 10 | 0 | 0 | |
| CreateUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| CreateDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ModifiedDate | smalldatetime | 4 | 16 | 0 | 1 | |
| IncludeOrgName | int | 4 | 10 | 0 | 1 | |
| AlternateName | int | 4 | 10 | 0 | 1 | |
| Title | varchar | 50 | 50 | 1 | ||
| FirstName | varchar | 50 | 50 | 1 | ||
| LastName | varchar | 50 | 50 | 1 | ||
| Suffix | varchar | 50 | 50 | 1 | ||
| DateActivated | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__EntityAdd__Recur__06CD04F7 | EntityAddresses | Recurrance | (0) | |||
| Foreign Key | FK_EntityAddresses_Entity | EntityAddresses | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityAddresses | EntityAddressID, EntityID | |||||||
| IDX_DateActivation | EntityID, ActiveDate, InactiveDate | |||||||
| EntityAddressTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Type | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| TypeID | bigint | 8 | 19 | 0 | 0 | |
| Descript | varchar | 2000 | 2000 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityAddressTypes | TypeID | |||||||
| EntityAttachments | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| AttachID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Attachment | varchar | 2000 | 2000 | 1 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityAttachments_Entity | EntityAttachments | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityAttachments | AttachID | |||||||
| IDX_EntityAttachments_Entity | EntityID | |||||||
| EntityAttributeTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityAttributeTypeID | bigint | 8 | 19 | 0 | 0 | |
| EntityAttributeTypeDescr | varchar | 50 | 50 | 0 | ||
| Active | int | 4 | 10 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_EntityAttribute_Active | EntityAttributeTypes | Active | (1) | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityAttributeTypes | EntityAttributeTypeID | |||||||
| EntityCodes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| CodeType | varchar | 50 | 50 | 1 | ||
| CodeValue | varchar | 100 | 100 | 0 | ||
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedDate | datetime | 8 | 23 | 3 | 1 | |
| EntityCodeID | bigint | 8 | 19 | 0 | 0 | |
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityCodes_Entity | EntityCodes | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| EntityCodes | ||||||||
| PK_EntityCodes | EntityCodeID, EntityID | |||||||
| IDX_EntityId_EntityCodes | EntityID, CodeType, CodeValue | |||||||
| EntityCorrespond | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| CorrespondID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Type | varchar | 8 | 8 | 0 | ||
| LtrCode | varchar | 50 | 50 | 0 | ||
| LDate | datetime | 8 | 23 | 3 | 1 | |
| Src | varchar | 8 | 8 | 1 | ||
| Ref | bigint | 8 | 19 | 0 | 1 | |
| Status | varchar | 1 | 1 | 0 | ||
| PrtGrp | bigint | 8 | 19 | 0 | 1 | |
| PrtDate | datetime | 8 | 23 | 3 | 1 | |
| ParaCode1 | varchar | 50 | 50 | 1 | ||
| ParaCode2 | varchar | 50 | 50 | 1 | ||
| ParaCode3 | varchar | 50 | 50 | 1 | ||
| ParaCode4 | varchar | 50 | 50 | 1 | ||
| PrtJob | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityCorrespond_Entity | EntityCorrespond | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityCorrespond | CorrespondID | |||||||
| IDX_EntityCorrespond_Src_Ref | Src, Ref | |||||||
| IDX_EntityCorrespond_EntityID | EntityID | |||||||
| IDX_EntityCorrespond_LtrCode | LtrCode, Status | |||||||
| EntityCreditCards | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityCreditCardID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| NameOnCard | varchar | 100 | 100 | 0 | ||
| EntityAddressType | varchar | 50 | 50 | 0 | ||
| CreditCardType | varchar | 50 | 50 | 0 | ||
| CreditCardNumber | varchar | 50 | 50 | 0 | ||
| CardExpDate | varchar | 8 | 8 | 0 | ||
| Bank | varchar | 50 | 50 | 1 | ||
| CreditCardNote | varchar | 2000 | 2000 | 1 | ||
| AddDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ChgDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ChgUserID | bigint | 8 | 19 | 0 | 1 | |
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| LastUseDate | datetime | 8 | 23 | 3 | 1 | |
| CardNumberEncrypted | varbinary | 256 | 256 | 1 | KEY:Description VALUE: Encrypted Credit Card Number | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityCreditCards_Entity | EntityCreditCards | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityCreditCards | EntityCreditCardID | |||||||
| IX_EntityID | EntityID | |||||||
| IX_CardType | CreditCardType | |||||||
| EntityDates | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityDatesID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| DateType | varchar | 20 | 20 | 0 | ||
| DateValue | datetime | 8 | 23 | 3 | 0 | |
| Descript | varchar | 2048 | 2048 | 1 | ||
| Note | varchar | 2048 | 2048 | 1 | ||
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedDate | smalldatetime | 4 | 16 | 0 | 1 | |
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityDates_Entity | EntityDates | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityDates | EntityDatesID, EntityID | |||||||
| EntityEmail | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityEmailID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| EmailAddress | varchar | 350 | 350 | 1 | ||
| defaultEmail | int | 4 | 10 | 0 | 1 | |
| note | varchar | 100 | 100 | 1 | ||
| CreateUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| CreateDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ModifiedDate | smalldatetime | 4 | 16 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityEmail_Entity | EntityEmail | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityEmail | EntityEmailID, EntityID | |||||||
| IDX_EntityId_EntityEmail | EntityID | |||||||
| EntityFinancials | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| FinancialID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Projected | money | 8 | 19 | 4 | 1 | |
| ProjectedNote | varchar | 1990 | 1990 | 1 | ||
| Capacity | money | 8 | 19 | 4 | 1 | |
| CapacityNote | varchar | 1990 | 1990 | 1 | ||
| Propensity | int | 4 | 10 | 0 | 1 | |
| Philanthropic | varchar | 2000 | 2000 | 1 | ||
| Note | varchar | 2000 | 2000 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityFinancials_Entity | EntityFinancials | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityFinancials | FinancialID | |||||||
| EntityGiftPic | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityGiftPicID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| ProjCode | varchar | 50 | 50 | 1 | ||
| Category | varchar | 50 | 50 | 1 | ||
| PldgCode | varchar | 50 | 50 | 1 | ||
| PledgeID | bigint | 8 | 19 | 0 | 1 | |
| Deduct | varchar | 1 | 1 | 1 | ||
| Annon | varchar | 1 | 1 | 1 | ||
| MediaCode | varchar | 50 | 50 | 1 | ||
| SAcctNbr | int | 4 | 10 | 0 | 1 | |
| ProgramID | bigint | 8 | 19 | 0 | 1 | |
| PayType | varchar | 50 | 50 | 1 | ||
| PayNbr | varchar | 20 | 20 | 1 | ||
| CardType | varchar | 50 | 50 | 1 | ||
| CardExpire | varchar | 5 | 5 | 1 | ||
| RoutingNbr | varchar | 20 | 20 | 1 | ||
| BankNbr | varchar | 20 | 20 | 1 | ||
| CardNumberEncrypted | varbinary | 256 | 256 | 1 | KEY:Description VALUE: Encrypted Credit Card Number | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityGiftPic_GiftPledge | EntityGiftPic | PledgeID | GiftPledge | PledgeID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityGiftPic | EntityGiftPicID, EntityID | |||||||
| EntityMaritalStatus | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MaritalStatusID | bigint | 8 | 19 | 0 | 0 | |
| MaritalStatus | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_EntityMaritalStatus_Inactive | EntityMaritalStatus | Inactive | (0) | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityMaritalStatus | MaritalStatusID | |||||||
| EntityNotes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| AttributeTypeDescr | varchar | 50 | 50 | 1 | ||
| AttributeValue | varchar | 2048 | 2048 | 1 | ||
| NextDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedDate | smalldatetime | 4 | 16 | 0 | 1 | |
| EntityNoteID | bigint | 8 | 19 | 0 | 0 | |
| NextActionNote | varchar | 256 | 256 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityNotes_Entity | EntityNotes | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityNotes | EntityNoteID | |||||||
| IDX_EntityNotes_Entity | EntityID | |||||||
| EntityPhone | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityPhoneID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| PhoneType | varchar | 50 | 50 | 1 | ||
| PhoneNumber | varchar | 50 | 50 | 1 | ||
| ActiveDate | smalldatetime | 4 | 16 | 0 | 1 | |
| InactiveDate | smalldatetime | 4 | 16 | 0 | 1 | |
| Active | int | 4 | 10 | 0 | 1 | |
| defaultPhone | int | 4 | 10 | 0 | 1 | |
| Recurrance | int | 4 | 10 | 0 | 0 | |
| CreateUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| CreateDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ModifiedDate | smalldatetime | 4 | 16 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__EntityPho__Recur__07C12930 | EntityPhone | Recurrance | (0) | |||
| Foreign Key | FK_EntityPhone_Entity | EntityPhone | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityPhone | EntityPhoneID, EntityID | |||||||
| IDX_EntityPhone_PhoneType_PhoneNumber | EntityID, PhoneType, PhoneNumber | |||||||
| EntityPhoneTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| PhoneTypeDescription | varchar | 2000 | 2000 | 1 | ||
| PhoneType | varchar | 50 | 50 | 0 | ||
| InActive | int | 4 | 10 | 0 | 1 | |
| PhoneTypeID | bigint | 8 | 19 | 0 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityPhoneTypes | PhoneTypeID | |||||||
| EntityRelationships | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| RelationID | bigint | 8 | 19 | 0 | 0 | |
| Type | varchar | 50 | 50 | 0 | ||
| NameKey | varchar | 30 | 30 | 1 | ||
| note | varchar | 2000 | 2000 | 1 | ||
| EntityRelationshipsID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntityRelationships_Entity | EntityRelationships | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityRelationships | EntityRelationshipsID | |||||||
| IDX_EntityRelationships_Entity | EntityID | |||||||
| EntityRelationshipTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Type | varchar | 50 | 50 | 1 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| InverseType | varchar | 50 | 50 | 1 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| TypeID | bigint | 8 | 19 | 0 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntityRelationshipTypes | TypeID | |||||||
| EntitySalutation | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntitySalutationID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_EntitySalutation_Entity | EntitySalutation | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntitySalutation | EntitySalutationID, EntityID | |||||||
| EntitySalutationTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Type | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Descript | varchar | 2000 | 2000 | 1 | ||
| DefaultSalutation | int | 4 | 10 | 0 | 1 | |
| TypeID | bigint | 8 | 19 | 0 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_EntitySalutationTypes | TypeID | |||||||
| FinanceCodes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| CodeType | varchar | 50 | 50 | 0 | ||
| CodeValue | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| Code1 | varchar | 50 | 50 | 1 | ||
| Code2 | varchar | 50 | 50 | 1 | ||
| Nbr1 | int | 4 | 10 | 0 | 1 | |
| Nbr2 | int | 4 | 10 | 0 | 1 | |
| AddData | varchar | 30 | 30 | 1 | ||
| Amt1 | float | 8 | 53 | 1 | ||
| AMt2 | float | 8 | 53 | 1 | ||
| GlAcct1 | varchar | 4 | 4 | 1 | ||
| GLAcct2 | varchar | 4 | 4 | 1 | ||
| Fund | varchar | 1 | 1 | 1 | ||
| GlAcct | varchar | 4 | 4 | 1 | ||
| CC | varchar | 4 | 4 | 1 | ||
| Fundid | varchar | 6 | 6 | 1 | ||
| Subacct | varchar | 3 | 3 | 1 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_FinanceCodes | CodeType, CodeValue | |||||||
| GiftAnnual | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| GiftAnnualID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| CurrCode | varchar | 8 | 8 | 0 | ||
| Deduct | varchar | 1 | 1 | 0 | ||
| CurrYear | int | 4 | 10 | 0 | 0 | |
| Nbr | int | 4 | 10 | 0 | 1 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| ConvAmt | money | 8 | 19 | 4 | 1 | |
| Soft | bit | 1 | 1 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__GiftAnnual__Soft__369C13AA | GiftAnnual | Soft | (0) | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftAnnual | GiftAnnualID | |||||||
| IDX_GiftAnnual_Entity | EntityID | |||||||
| IDX_GiftAnnual_CurrYear | CurrYear | |||||||
| GiftComments | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Comm | text | 16 | 1 | |||
| PrintFlag | varchar | 1 | 1 | 1 | ||
| GiftRef | bigint | 8 | 19 | 0 | 1 | |
| GiftCommentID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_GiftComments_GiftHeader | GiftComments | GiftRef | GiftHeader | GiftRef | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftComments | GiftCommentID | |||||||
| IDX_GiftRef_GiftComments | GiftRef | |||||||
| tGiftComments | ||||||||
| GiftDetail | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| GiftDetailID | bigint | 8 | 19 | 0 | 0 | |
| GiftRef | bigint | 8 | 19 | 0 | 0 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| ProjCode | varchar | 50 | 50 | 1 | ||
| Category | varchar | 50 | 50 | 1 | ||
| PledgeID | bigint | 8 | 19 | 0 | 1 | |
| Deduct | varchar | 1 | 1 | 1 | ||
| Annon | varchar | 1 | 1 | 1 | ||
| MediaCode | varchar | 50 | 50 | 1 | ||
| SAcctNbr | bigint | 8 | 19 | 0 | 1 | |
| GiftDetailNote | varchar | 2000 | 2000 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_GiftDetail_Entity | GiftDetail | SAcctNbr | Entity | EntityID | 1 | |
| Foreign Key | FK_GiftDetail_GiftHeader | GiftDetail | GiftRef | GiftHeader | GiftRef | 1 | |
| Foreign Key | FK_GiftDetail_GiftPledge | GiftDetail | PledgeID | GiftPledge | PledgeID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| IDX_GiftDetail_GiftRef | GiftRef | |||||||
| IDX_GiftDetail_MotvCode | MotvCode | |||||||
| IDX_GiftDetail_ProjCode | ProjCode | |||||||
| PK_GiftDetail | GiftDetailID | |||||||
| IDX_PledgeID_GiftDetail | PledgeID | |||||||
| GiftHeader | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| GiftRef | bigint | 8 | 19 | 0 | 0 | |
| Gdate | datetime | 8 | 23 | 3 | 1 | |
| ApplyDate | datetime | 8 | 23 | 3 | 1 | |
| BatchNbr | bigint | 8 | 19 | 0 | 1 | |
| Status | varchar | 1 | 1 | 1 | ||
| Amt | money | 8 | 19 | 4 | 1 | |
| PayCode | varchar | 50 | 50 | 1 | ||
| PayType | varchar | 50 | 50 | 1 | ||
| PayNbr | varchar | 20 | 20 | 1 | ||
| Expire | varchar | 8 | 8 | 1 | ||
| ChargeAuth | varchar | 8 | 8 | 1 | ||
| RcptNbr | bigint | 8 | 19 | 0 | 1 | |
| RcptPrint | varchar | 1 | 1 | 1 | ||
| PrtGrp | int | 4 | 10 | 0 | 1 | |
| LtrCode | varchar | 50 | 50 | 1 | ||
| LtrPrint | varchar | 1 | 1 | 1 | ||
| CurrCode | varchar | 50 | 50 | 1 | ||
| ConvRate | float | 8 | 53 | 1 | ||
| OrdNbr | bigint | 8 | 19 | 0 | 1 | |
| ParaCode1 | varchar | 50 | 50 | 1 | ||
| ParaCode2 | varchar | 50 | 50 | 1 | ||
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| ChgUserID | bigint | 8 | 19 | 0 | 1 | |
| MediaCode | varchar | 50 | 50 | 1 | ||
| RouteNbr | varchar | 16 | 16 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| ChgDate | datetime | 8 | 23 | 3 | 1 | |
| ProgramID | bigint | 8 | 19 | 0 | 1 | |
| EpisodeID | bigint | 8 | 19 | 0 | 1 | |
| SecCode | varchar | 8 | 8 | 1 | ||
| Bank | varchar | 50 | 50 | 1 | ||
| MediaPlacementId | bigint | 8 | 19 | 0 | 1 | |
| CardNumberEncrypted | varbinary | 256 | 256 | 1 | KEY:Description VALUE: Encrypted Credit Card Number | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_GiftHeader_Batches | GiftHeader | BatchNbr | Batches | BatchNbr | 1 | |
| Foreign Key | FK_GiftHeader_Entity | GiftHeader | EntityID | Entity | EntityID | 1 | |
| Primary Key | PK_GiftHeader | GiftHeader | GiftRef | GiftComments | GiftRef | 1 | |
| Primary Key | PK_GiftHeader | GiftHeader | GiftRef | GiftDetail | GiftRef | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftHeader | GiftRef | |||||||
| IDX_EntityId_GiftHeader | EntityID | |||||||
| IDX_Amt_GiftHeader | Amt | |||||||
| IDX_BatchNbr_GiftHeader | BatchNbr | |||||||
| IDX_MediaCode_GiftHeader | MediaCode | |||||||
| IDX_OrdNbr_GiftHeader | OrdNbr | |||||||
| IDX_GiftHeader_MediaPlacements | Gdate, MediaPlacementId | |||||||
| GiftPledge | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| PledgeID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| PldgCode | varchar | 50 | 50 | 0 | ||
| Status | varchar | 1 | 1 | 1 | ||
| StartDate | datetime | 8 | 23 | 3 | 1 | |
| EndDate | datetime | 8 | 23 | 3 | 1 | |
| TotAmtPldg | money | 8 | 19 | 4 | 1 | |
| AmtPerGift | money | 8 | 19 | 4 | 1 | |
| NbrPldg | int | 4 | 10 | 0 | 1 | |
| Freq | varchar | 1 | 1 | 1 | ||
| MotvCode | varchar | 50 | 50 | 1 | ||
| AmtGiven | money | 8 | 19 | 4 | 1 | |
| AmtRemain | money | 8 | 19 | 4 | 1 | |
| NbrGiven | int | 4 | 10 | 0 | 1 | |
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| AddSite | varchar | 2 | 2 | 1 | ||
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| Note | varchar | 2000 | 2000 | 1 | ||
| PldgRef | int | 4 | 10 | 0 | 1 | |
| ChgDate | datetime | 8 | 23 | 3 | 1 | |
| ChgUserID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_GiftPledge_TblUser_ADD | GiftPledge | AddUserID | tblUser | userID | 1 | |
| Foreign Key | FK_GiftPledge_TblUser_CHG | GiftPledge | ChgUserID | tblUser | userID | 1 | |
| Primary Key | PK_GiftPledge | GiftPledge | PledgeID | EntityGiftPic | PledgeID | 1 | |
| Primary Key | PK_GiftPledge | GiftPledge | PledgeID | GiftDetail | PledgeID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftPledge | PledgeID | |||||||
| IDX_GiftPledge_Pldgref | PldgRef | |||||||
| GiftRecurring | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| BatchRecurID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| GiftRecurID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_GiftRecurring_Entity | GiftRecurring | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftRecurring | GiftRecurID | |||||||
| GiftRelated | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| GiftRelatedID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| GiftRef | bigint | 8 | 19 | 0 | 1 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| ProjCode | varchar | 50 | 50 | 1 | ||
| MotvCode | varchar | 50 | 50 | 1 | ||
| PAcctNbr | bigint | 8 | 19 | 0 | 1 | |
| Category | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_GiftRelated_Entity | GiftRelated | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftRelated | GiftRelatedID | |||||||
| GiftSummary | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| GiftSummaryID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| CurrCode | varchar | 8 | 8 | 0 | ||
| Deduct | varchar | 1 | 1 | 0 | ||
| Soft | bit | 1 | 1 | 0 | 0 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| ConvAmt | money | 8 | 19 | 4 | 1 | |
| Nbr | int | 4 | 10 | 0 | 1 | |
| FirstDate | datetime | 8 | 23 | 3 | 1 | |
| FirstAmt | money | 8 | 19 | 4 | 1 | |
| FirstConvAmt | money | 8 | 19 | 4 | 1 | |
| FirstGiftRef | int | 4 | 10 | 0 | 1 | |
| LargeDate | datetime | 8 | 23 | 3 | 1 | |
| LargeAmt | money | 8 | 19 | 4 | 1 | |
| LargeConvAmt | money | 8 | 19 | 4 | 1 | |
| LargeGiftRef | int | 4 | 10 | 0 | 1 | |
| LastDate | datetime | 8 | 23 | 3 | 1 | |
| LastAmt | money | 8 | 19 | 4 | 1 | |
| LastConvAmt | money | 8 | 19 | 4 | 1 | |
| LastGiftRef | int | 4 | 10 | 0 | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_GiftSummary | GiftSummaryID | |||||||
| IDX_GiftSummary_Entity | EntityID | |||||||
| JournalEntries | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntryID | bigint | 8 | 19 | 0 | 0 | |
| RefNbr | bigint | 8 | 19 | 0 | 1 | |
| JrnSrc | varchar | 50 | 50 | 1 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| Type | char | 1 | 1 | 1 | ||
| Status | char | 1 | 1 | 1 | ||
| Amt | money | 8 | 19 | 4 | 1 | |
| Category | varchar | 50 | 50 | 1 | ||
| Fund | varchar | 50 | 50 | 1 | ||
| GLAcct | varchar | 50 | 50 | 1 | ||
| CC | varchar | 50 | 50 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| TransDate | datetime | 8 | 23 | 3 | 1 | |
| RefSrc | varchar | 1 | 1 | 1 | ||
| ProjCode | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_JournalEntries_Status | JournalEntries | Status | ('A') | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_JournalEntries | EntryID | |||||||
| JournalEntryExceptions | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EntryID | bigint | 8 | 19 | 0 | 0 | |
| RefNbr | bigint | 8 | 19 | 0 | 1 | |
| FieldValue | varchar | 50 | 50 | 1 | ||
| FieldEdited | varchar | 50 | 50 | 1 | ||
| Message | varchar | 2000 | 2000 | 1 | ||
| Resolution | varchar | 2000 | 2000 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_JournalEntryErrors | EntryID | |||||||
| letterPriorities | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| LetterPriorityID | bigint | 8 | 19 | 0 | 0 | |
| Type | varchar | 2 | 2 | 0 | ||
| CodeType | varchar | 50 | 50 | 1 | ||
| ValueList | varchar | 2000 | 2000 | 1 | ||
| AMtLow | money | 8 | 19 | 4 | 1 | |
| AmtHigh | money | 8 | 19 | 4 | 1 | |
| LtrCode | varchar | 50 | 50 | 0 | ||
| AltCode | varchar | 50 | 50 | 1 | ||
| note | varchar | 2000 | 2000 | 1 | ||
| AdvSrch | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_tblSavedQueries_LetterPriorities | letterPriorities | AdvSrch | tblSavedQueries | savedQueryID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_letterPriorities | LetterPriorityID | |||||||
| MediaAgencies | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Agency_Id | bigint | 8 | 19 | 0 | 0 | |
| Name | varchar | 100 | 100 | 0 | ||
| Period_4_MaintenanceFee | varchar | 10 | 10 | 1 | ||
| PeriodicMaintenanceFee | money | 8 | 19 | 4 | 1 | |
| Inactive | int | 4 | 10 | 0 | 1 | |
| EntityID | bigint | 8 | 19 | 0 | 1 | |
| Notes | varchar | 2000 | 2000 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK__MediaAgencies__1332DBDC | MediaAgencies | Agency_Id | MediaPlacements | Agency_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__MediaAgencies__1332DBDC | Agency_Id | |||||||
| MediaAirDates | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| EpisodeID | bigint | 8 | 19 | 0 | 0 | |
| AirDateID | bigint | 8 | 19 | 0 | 0 | |
| AirDate | datetime | 8 | 23 | 3 | 0 | |
| Note | varchar | 1000 | 1000 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaAirDates_MediaEpisodes | MediaAirDates | EpisodeID | MediaEpisodes | Segment_Id | 1 | |
| Primary Key | PK__MediaAirDates__671F4F74 | MediaAirDates | AirDateID | MediaPremiums | AirDateID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__MediaAirDates__671F4F74 | AirDateID | |||||||
| MediaContacts | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MediaContactID | bigint | 8 | 19 | 0 | 0 | |
| MediaID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaContacts_Entity | MediaContacts | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaContacts | MediaContactID | |||||||
| IDX_MediaContacts_MediaId | MediaID | |||||||
| MediaEpisodes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProgramID | bigint | 8 | 19 | 0 | 0 | |
| Segment_Id | bigint | 8 | 19 | 0 | 0 | |
| Name | varchar | 100 | 100 | 1 | ||
| EpisodeNbr | int | 4 | 10 | 0 | 0 | |
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaEpisodes_MediaPrograms | MediaEpisodes | ProgramID | MediaPrograms | ProgramID | 1 | |
| Primary Key | PK__MediaEpisodes__531856C7 | MediaEpisodes | Segment_Id | MediaAirDates | Segment_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__MediaEpisodes__531856C7 | Segment_Id | |||||||
| MediaNetworkGroups | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| NetworkID | bigint | 8 | 19 | 0 | 0 | |
| MediaID | bigint | 8 | 19 | 0 | 0 | |
| NetworkGroupID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaNetworkGroups_MediaNetworks | MediaNetworkGroups | NetworkID | MediaNetworks | NetworkiD | 1 | |
| Foreign Key | FK_MediaNetworkGroups_MediaOutlets | MediaNetworkGroups | MediaID | MediaOutlets | MediaCode_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaNetworkGroups | NetworkGroupID | |||||||
| IDX_MediaNetworkGroups_MediaId | MediaID | |||||||
| MediaNetworks | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| NetworkiD | bigint | 8 | 19 | 0 | 0 | |
| Name | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_MediaNetworks | MediaNetworks | NetworkiD | MediaNetworkGroups | NetworkiD | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaNetworks | NetworkiD | |||||||
| MediaOutletFormats | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Format_id | bigint | 8 | 19 | 0 | 0 | |
| Format_name | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_MediaOutletFormats | MediaOutletFormats | Format_id | MediaOutlets | Format_id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| MediaOutletFormats | ||||||||
| PK_MediaOutletFormats | Format_id | |||||||
| MediaOutlets | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MediaCode_Id | bigint | 8 | 19 | 0 | 0 | |
| MediaCode | varchar | 50 | 50 | 0 | ||
| Freq | varchar | 20 | 20 | 1 | ||
| FreqUOM | varchar | 3 | 3 | 1 | ||
| PowerOut | varchar | 50 | 50 | 1 | ||
| PowerUOM | varchar | 2 | 2 | 1 | ||
| CityOfLicense | varchar | 25 | 25 | 1 | ||
| State | varchar | 50 | 50 | 1 | ||
| Country | varchar | 50 | 50 | 1 | ||
| Website_URL | varchar | 100 | 100 | 1 | ||
| BCalName | varchar | 15 | 15 | 0 | ||
| Delivery_method_id | bigint | 8 | 19 | 0 | 1 | |
| Medium_Id | bigint | 8 | 19 | 0 | 0 | |
| Medium_subType_Id | bigint | 8 | 19 | 0 | 1 | |
| Format_id | bigint | 8 | 19 | 0 | 1 | |
| TimeZone_id | bigint | 8 | 19 | 0 | 1 | |
| DMA_Id | bigint | 8 | 19 | 0 | 1 | |
| notes | varchar | 6000 | 6000 | 1 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Address1 | varchar | 50 | 50 | 1 | ||
| Address2 | varchar | 50 | 50 | 1 | ||
| Address3 | varchar | 50 | 50 | 1 | ||
| ZipCode | varchar | 50 | 50 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| ChgDate | datetime | 8 | 23 | 3 | 1 | |
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| ChgUserID | bigint | 8 | 19 | 0 | 1 | |
| EmailAddress | varchar | 350 | 350 | 1 | ||
| TagLine | varchar | 100 | 100 | 1 | ||
| Translator | bit | 1 | 1 | 0 | 0 | |
| FlagshipID | bigint | 8 | 19 | 0 | 1 | |
| Commercial | bit | 1 | 1 | 0 | 1 | |
| TargetROI | real | 4 | 24 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__MediaOutl__Trans__567ED357 | MediaOutlets | Translator | (0) | |||
| Default | DF_MediaOutlets_BCalName | MediaOutlets | BCalName | ('Gregorian') | |||
| Default | DF_MediaOutlets_Commercial | MediaOutlets | Commercial | (0) | |||
| Foreign Key | FK_MediaOutlets_MediaOutletFormats | MediaOutlets | Format_id | MediaOutletFormats | Format_id | 1 | |
| Foreign Key | FK_MediaOutlets_MediumSubTypes | MediaOutlets | Medium_subType_Id | MediumSubTypes | Medium_subType_Id | 1 | |
| Foreign Key | FK_MediaOutlets_MediumTypes | MediaOutlets | Medium_Id | MediumTypes | Medium_Id | 1 | |
| Primary Key | PK__MediaOutlets__681373AD | MediaOutlets | MediaCode_Id | MediaNetworkGroups | MediaCode_Id | 1 | |
| Primary Key | PK__MediaOutlets__681373AD | MediaOutlets | MediaCode_Id | MediaPhone | MediaCode_Id | 1 | |
| Primary Key | PK__MediaOutlets__681373AD | MediaOutlets | MediaCode_Id | MediaPlacements | MediaCode_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__MediaOutlets__681373AD | MediaCode_Id | |||||||
| IDX_MediaOutlets_Medium_Id | Medium_Id | |||||||
| IDX_MediaOutlets_Medium_subType_Id | Medium_subType_Id | |||||||
| MediaPhone | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MediaPhoneID | bigint | 8 | 19 | 0 | 0 | |
| MediaCode_Id | bigint | 8 | 19 | 0 | 0 | |
| PhoneNumber | varchar | 50 | 50 | 1 | ||
| Active | int | 4 | 10 | 0 | 1 | |
| CreateUserID | bigint | 8 | 19 | 0 | 1 | |
| ModifiedUserID | bigint | 8 | 19 | 0 | 1 | |
| CreateDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ModifiedDate | smalldatetime | 4 | 16 | 0 | 1 | |
| DefaultPhone | bit | 1 | 1 | 0 | 1 | |
| PhoneType | varchar | 50 | 50 | 1 | ||
| InactiveDate | smalldatetime | 4 | 16 | 0 | 1 | |
| ActiveDate | smalldatetime | 4 | 16 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaPhone_MediaOutlets | MediaPhone | MediaCode_Id | MediaOutlets | MediaCode_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaPhone | MediaPhoneID | |||||||
| IDX_MediaPhone_MediaCode_id | MediaCode_Id | |||||||
| MediaPlacementExceptions | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ExceptionID | bigint | 8 | 19 | 0 | 0 | |
| PlacementID | bigint | 8 | 19 | 0 | 0 | |
| ExceptionDate | datetime | 8 | 23 | 3 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaPlacementExceptions | ExceptionID | |||||||
| MediaPlacementRates | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| PlacementID | bigint | 8 | 19 | 0 | 0 | |
| BeginDate | datetime | 8 | 23 | 3 | 0 | |
| Rate | money | 8 | 19 | 4 | 1 | |
| RecurType | varchar | 32 | 32 | 0 | ||
| RateID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaPlacementRates_MediaPlacements | MediaPlacementRates | PlacementID | MediaPlacements | PlacementID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| MediaPlacementRates | ||||||||
| PK_MediaPlacementRates | RateID | |||||||
| IDX_MediaPlacementRates_PlacementId | PlacementID | |||||||
| MediaPlacements | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| PlacementID | bigint | 8 | 19 | 0 | 0 | |
| ProgramID | bigint | 8 | 19 | 0 | 0 | |
| LeadIn | varchar | 100 | 100 | 1 | ||
| LeadOut | varchar | 100 | 100 | 1 | ||
| Monday | bit | 1 | 1 | 0 | 0 | |
| Tuesday | bit | 1 | 1 | 0 | 0 | |
| Wednesday | bit | 1 | 1 | 0 | 0 | |
| Thursday | bit | 1 | 1 | 0 | 0 | |
| Friday | bit | 1 | 1 | 0 | 0 | |
| Saturday | bit | 1 | 1 | 0 | 0 | |
| Sunday | bit | 1 | 1 | 0 | 0 | |
| LocalTimeSlot_Begin | int | 4 | 10 | 0 | 1 | |
| Notes | varchar | 4000 | 4000 | 1 | ||
| MediaID | bigint | 8 | 19 | 0 | 0 | |
| BeginDate | datetime | 8 | 23 | 3 | 1 | |
| EndDate | datetime | 8 | 23 | 3 | 1 | |
| Notes2 | text | 16 | 1 | |||
| AgencyID | bigint | 8 | 19 | 0 | 1 | |
| Contract_type | char | 10 | 10 | 0 | ||
| isComplete | bit | 1 | 1 | 0 | 0 | |
| DeliveryID | bigint | 8 | 19 | 0 | 1 | |
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_MediaPlacements_Friday | MediaPlacements | Friday | (0) | |||
| Default | DF_MediaPlacements_isComplete | MediaPlacements | isComplete | (0) | |||
| Default | DF_MediaPlacements_Monday | MediaPlacements | Monday | (0) | |||
| Default | DF_MediaPlacements_Saturday | MediaPlacements | Saturday | (0) | |||
| Default | DF_MediaPlacements_Sunday | MediaPlacements | Sunday | (0) | |||
| Default | DF_MediaPlacements_Thursday | MediaPlacements | Thursday | (0) | |||
| Default | DF_MediaPlacements_Tuesday | MediaPlacements | Tuesday | (0) | |||
| Default | DF_MediaPlacements_Wednesday | MediaPlacements | Wednesday | (0) | |||
| Foreign Key | FK_MediaPlacements_DeliveryMethods | MediaPlacements | DeliveryID | DeliveryMethods | Delivery_method_id | 1 | |
| Foreign Key | FK_MediaPlacements_MediaAgencies | MediaPlacements | AgencyID | MediaAgencies | Agency_Id | 1 | |
| Foreign Key | FK_MediaPlacements_MediaOutlets | MediaPlacements | MediaID | MediaOutlets | MediaCode_Id | 1 | |
| Foreign Key | FK_MediaPlacements_MediaPrograms | MediaPlacements | ProgramID | MediaPrograms | ProgramID | 1 | |
| Primary Key | PK_MediaPlacements | MediaPlacements | PlacementID | MediaPlacementRates | PlacementID | 1 | |
| Primary Key | PK_MediaPlacements | MediaPlacements | PlacementID | MediaPlacementShare | PlacementID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaPlacements | PlacementID | |||||||
| IDX_MediaPlacements_MediaID | MediaID | |||||||
| tMediaPlacements | ||||||||
| MediaPlacementShare | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| PlacementID | bigint | 8 | 19 | 0 | 0 | |
| SharePct_Sales | numeric | 5 | 5 | 4 | 0 | |
| SharePct_Gifts | numeric | 5 | 5 | 4 | 0 | |
| ShareMax | money | 8 | 19 | 4 | 1 | |
| ShareMin | money | 8 | 19 | 4 | 1 | |
| ShareMaxType | varchar | 12 | 12 | 1 | ||
| ShareMinType | varchar | 12 | 12 | 1 | ||
| ShareID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaPlacementShare_MediaPlacements | MediaPlacementShare | PlacementID | MediaPlacements | PlacementID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| MediaPlacementShare | ||||||||
| PK_MediaPlacementShare | ShareID | |||||||
| IDX_MediaPlacementShare_PlacementId | PlacementID | |||||||
| MediaPremiums | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| PremiumID | bigint | 8 | 19 | 0 | 0 | |
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| AirDateID | bigint | 8 | 19 | 0 | 0 | |
| Qty | int | 4 | 10 | 0 | 0 | |
| SpeakLine | varchar | 200 | 200 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediaPremiums_MediaAirDates | MediaPremiums | AirDateID | MediaAirDates | AirDateID | 1 | |
| Foreign Key | FK_MediaPremiums_Products | MediaPremiums | ProductID | Products | ProductID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MediaPremiums | PremiumID | |||||||
| MediaPrograms | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProgramID | bigint | 8 | 19 | 0 | 0 | |
| Name | varchar | 100 | 100 | 0 | ||
| Notes | varchar | 2000 | 2000 | 1 | ||
| Length | int | 4 | 10 | 0 | 1 | |
| MinSec | varchar | 10 | 10 | 1 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK__MediaPrograms__160F4887 | MediaPrograms | ProgramID | MediaEpisodes | ProgramID | 1 | |
| Primary Key | PK__MediaPrograms__160F4887 | MediaPrograms | ProgramID | MediaPlacements | ProgramID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__MediaPrograms__160F4887 | ProgramID | |||||||
| MediumSubTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Medium_Id | bigint | 8 | 19 | 0 | 0 | |
| Medium_subType_Id | bigint | 8 | 19 | 0 | 0 | |
| Medium_subType | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_MediumSubTypes_MediumTypes | MediumSubTypes | Medium_Id | MediumTypes | Medium_Id | 1 | |
| Primary Key | PK_MediumSubTypes | MediumSubTypes | Medium_subType_Id | MediaOutlets | Medium_subType_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| MediumSubTypes | ||||||||
| PK_MediumSubTypes | Medium_subType_Id | |||||||
| MediumTypes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Medium_Id | bigint | 8 | 19 | 0 | 0 | |
| Medium_type | varchar | 50 | 50 | 0 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| CoverageType | varchar | 10 | 10 | 0 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_MediumTypes_CoverageType | MediumTypes | CoverageType | ('ALL') | |||
| Primary Key | PK_MediumTypes | MediumTypes | Medium_Id | MediaOutlets | Medium_Id | 1 | |
| Primary Key | PK_MediumTypes | MediumTypes | Medium_Id | MediumSubTypes | Medium_Id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| MediumTypes | ||||||||
| PK_MediumTypes | Medium_Id | |||||||
| Metro | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Metro_id | bigint | 8 | 19 | 0 | 0 | |
| Metro_name | varchar | 50 | 50 | 0 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_Metro | Metro | Metro_id | MetroDefinitions | Metro_id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| Metro | ||||||||
| PK_Metro | Metro_id | |||||||
| MetroDefinitions | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| Metro_Id | bigint | 8 | 19 | 0 | 0 | |
| Metro_zip | varchar | 12 | 12 | 0 | ||
| County | varchar | 50 | 50 | 1 | ||
| State | varchar | 50 | 50 | 1 | ||
| Metro | bit | 1 | 1 | 0 | 0 | |
| DMA | bit | 1 | 1 | 0 | 0 | |
| TSA | bit | 1 | 1 | 0 | 0 | |
| TableId | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_MetroDefinitions_DMA | MetroDefinitions | DMA | (0) | |||
| Default | DF_MetroDefinitions_Metro | MetroDefinitions | Metro | (0) | |||
| Default | DF_MetroDefinitions_TSA | MetroDefinitions | TSA | (0) | |||
| Foreign Key | FK_MetroDefinitions_Metro | MetroDefinitions | Metro_Id | Metro | Metro_id | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MetroDefinitions | TableId | |||||||
| IDX_Metro_id_Metro_Zip | Metro_Id, Metro_zip | |||||||
| MotivationCodes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MotvCodeID | bigint | 8 | 19 | 0 | 0 | |
| MotvCode | varchar | 50 | 50 | 0 | ||
| MotvGrp | varchar | 50 | 50 | 1 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| Nbr | int | 4 | 10 | 0 | 1 | |
| MDate | datetime | 8 | 23 | 3 | 1 | |
| Cost | money | 8 | 19 | 4 | 1 | |
| NbrResp | int | 4 | 10 | 0 | 1 | |
| NbrGifts | int | 4 | 10 | 0 | 1 | |
| NbrSales | int | 4 | 10 | 0 | 1 | |
| GiftAmt | money | 8 | 19 | 4 | 1 | |
| SaleAmt | money | 8 | 19 | 4 | 1 | |
| DefProjCode | varchar | 50 | 50 | 1 | ||
| DefPldgcode | varchar | 50 | 50 | 1 | ||
| Status | varchar | 1 | 1 | 1 | ||
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| ChangeUserID | bigint | 8 | 19 | 0 | 1 | |
| ChangeDate | smalldatetime | 4 | 16 | 0 | 1 | |
| AddDate | smalldatetime | 4 | 16 | 0 | 1 | |
| Category | varchar | 50 | 50 | 1 | ||
| Campaign | varchar | 50 | 50 | 1 | ||
| Kit | varchar | 50 | 50 | 1 | ||
| CostPer | money | 8 | 19 | 4 | 1 | |
| User1 | varchar | 50 | 50 | 1 | ||
| User2 | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_MotivationCodes_AddDate | MotivationCodes | AddDate | (getdate()) | |||
| Primary Key | PK_MotivationCodes | MotivationCodes | MotvCodeID | MotivationCrossRef | MotvCodeID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MotivationCodes | MotvCodeID | |||||||
| IDX_MotvCode_MotivationCodes | MotvCode | |||||||
| MotivationCrossRef | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MotvXrefId | bigint | 8 | 19 | 0 | 0 | |
| MotvGrpID | bigint | 8 | 19 | 0 | 0 | |
| MotvCodeID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK__Motivatio__MotvC__26A739B1 | MotivationCrossRef | MotvCodeID | MotivationCodes | MotvCodeID | 1 | |
| Foreign Key | FK__Motivatio__MotvG__25B31578 | MotivationCrossRef | MotvGrpID | MotivationGroups | MotvGrpID | 1 | |
| Unique | IDX_UK_MotivationCrossRef | MotivationCrossRef | MotvCodeID | 2 | |||
| Unique | IDX_UK_MotivationCrossRef | MotivationCrossRef | MotvGrpID | 1 | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK__MotivationCrossR__23CACD06 | MotvXrefId | |||||||
| IDX_UK_MotivationCrossRef | MotvGrpID, MotvCodeID | |||||||
| MotivationGroups | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| MotvGrpID | bigint | 8 | 19 | 0 | 0 | |
| MotvGrp | varchar | 50 | 50 | 1 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| MDate | datetime | 8 | 23 | 3 | 1 | |
| Cost | money | 8 | 19 | 4 | 1 | |
| Inactive | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_MotivationGroups | MotivationGroups | MotvGrpID | MotivationCrossRef | MotvGrpID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_MotivationGroups | MotvGrpID | |||||||
| NoteCodes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| CodeType | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| DataType | varchar | 8 | 8 | 1 | ||
| Secured | bit | 1 | 1 | 0 | 0 | |
| Inactive | int | 4 | 10 | 0 | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_NoteCodes | CodeType | |||||||
| Numbers | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| CodeType | varchar | 8 | 8 | 0 | ||
| Descript | varchar | 80 | 80 | 1 | ||
| DataType | varchar | 8 | 8 | 0 | ||
| Secured | bit | 1 | 1 | 0 | 0 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Numbers | DataType, CodeType | |||||||
| OrderAddresses | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrderAddressID | bigint | 8 | 19 | 0 | 0 | |
| OrdNbr | bigint | 8 | 19 | 0 | 0 | |
| sName | varchar | 100 | 100 | 1 | ||
| saddrlines | varchar | 2000 | 2000 | 1 | ||
| scity | varchar | 50 | 50 | 1 | ||
| sstate | varchar | 50 | 50 | 1 | ||
| szip | varchar | 100 | 100 | 1 | ||
| scounty | varchar | 65 | 65 | 1 | ||
| scountry | varchar | 100 | 100 | 1 | ||
| bName | varchar | 100 | 100 | 1 | ||
| baddrlines | varchar | 2000 | 2000 | 1 | ||
| bcity | varchar | 50 | 50 | 1 | ||
| bstate | varchar | 50 | 50 | 1 | ||
| bzip | varchar | 100 | 100 | 1 | ||
| bcounty | varchar | 65 | 65 | 1 | ||
| bcountry | varchar | 100 | 100 | 1 | ||
| sTitle | varchar | 50 | 50 | 1 | ||
| sFirstName | varchar | 50 | 50 | 1 | ||
| sLastName | varchar | 100 | 100 | 1 | ||
| sSuffix | varchar | 50 | 50 | 1 | ||
| bTitle | varchar | 50 | 50 | 1 | ||
| bFirstName | varchar | 50 | 50 | 1 | ||
| bLastName | varchar | 100 | 100 | 1 | ||
| bSuffix | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_OrderAddresses_OrderHeader | OrderAddresses | OrdNbr | OrderHeader | OrdNbr | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderAddresses | OrderAddressID, OrdNbr | |||||||
| OrderAnnual | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrderAnnualID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| CurrCode | varchar | 50 | 50 | 1 | ||
| CurrYear | int | 4 | 10 | 0 | 0 | |
| Nbr | int | 4 | 10 | 0 | 1 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| ConvAmt | money | 8 | 19 | 4 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_OrderAnnual_Entity | OrderAnnual | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderAnnualSummary | OrderAnnualID | |||||||
| IDX_OrderAnnual_Entity | EntityID | |||||||
| OrderComments | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrderCommentsID | bigint | 8 | 19 | 0 | 0 | |
| OrdNbr | bigint | 8 | 19 | 0 | 0 | |
| Comm | text | 16 | 1 | |||
| PrintFlag | varchar | 1 | 1 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_OrderComments_OrderHeader | OrderComments | OrdNbr | OrderHeader | OrdNbr | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderComments | OrderCommentsID | |||||||
| IDX_OrdNbr_OrderComments | OrdNbr | |||||||
| tOrderComments | ||||||||
| OrderDetail | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrderDetailID | bigint | 8 | 19 | 0 | 0 | |
| OrdNbr | bigint | 8 | 19 | 0 | 0 | |
| PrcCode | varchar | 50 | 50 | 1 | ||
| Price | money | 8 | 19 | 4 | 0 | |
| PurQty | int | 4 | 10 | 0 | 0 | |
| FreeQty | int | 4 | 10 | 0 | 0 | |
| PurStatus | varchar | 1 | 1 | 1 | ||
| FreeStatus | varchar | 1 | 1 | 1 | ||
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| ReduceInv | int | 4 | 10 | 0 | 0 | |
| Category | varchar | 50 | 50 | 1 | ||
| ProductLocationID | bigint | 8 | 19 | 0 | 1 | |
| FairMarketValue | money | 8 | 19 | 4 | 1 | |
| FreeLocationID | bigint | 8 | 19 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__OrderDeta__Reduc__1293BD5E | OrderDetail | ReduceInv | (1) | |||
| Default | DF_OrderDetail_FreeQty | OrderDetail | FreeQty | (0) | |||
| Default | DF_OrderDetail_Price | OrderDetail | Price | (0) | |||
| Default | DF_OrderDetail_PurQty | OrderDetail | PurQty | (0) | |||
| Foreign Key | FK_OrderDetail_OrderHeader | OrderDetail | OrdNbr | OrderHeader | OrdNbr | 1 | |
| Foreign Key | FK_OrderDetail_ProductLocation | OrderDetail | ProductLocationID | ProductLocation | ProductLocationID | 1 | |
| Primary Key | PK_OrderDetail | OrderDetail | OrderDetailID | OrderSubscriptions | OrderDetailID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderDetail | OrderDetailID | |||||||
| IDX_OrdNbr_ProductId_OrderDetail | OrdNbr, ProductID | |||||||
| IX_LocationID | ProductLocationID, FreeLocationID | |||||||
| OrderHeader | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrdNbr | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| Status | varchar | 50 | 50 | 1 | ||
| BatchNbr | bigint | 8 | 19 | 0 | 1 | |
| Odate | datetime | 8 | 23 | 3 | 1 | |
| ADate | datetime | 8 | 23 | 3 | 1 | |
| LDate | datetime | 8 | 23 | 3 | 1 | |
| BDate | datetime | 8 | 23 | 3 | 1 | |
| SDate | datetime | 8 | 23 | 3 | 1 | |
| CDate | datetime | 8 | 23 | 3 | 1 | |
| RDate | datetime | 8 | 23 | 3 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| MediaCode | varchar | 50 | 50 | 1 | ||
| TotFunds | money | 8 | 19 | 4 | 1 | |
| TotCredits | money | 8 | 19 | 4 | 1 | |
| Amt | money | 8 | 19 | 4 | 1 | |
| Discount | money | 8 | 19 | 4 | 1 | |
| Tax | money | 8 | 19 | 4 | 1 | |
| Postage | money | 8 | 19 | 4 | 1 | |
| GiftAmt | money | 8 | 19 | 4 | 1 | |
| Refund | money | 8 | 19 | 4 | 1 | |
| AmtDue | money | 8 | 19 | 4 | 1 | |
| GiftRef | int | 4 | 10 | 0 | 1 | |
| GiftFundId | varchar | 6 | 6 | 1 | ||
| GiftPldgCode | varchar | 50 | 50 | 1 | ||
| GiftPldgRef | int | 4 | 10 | 0 | 1 | |
| GiftMotvCode | varchar | 50 | 50 | 1 | ||
| InvProcess | varchar | 1 | 1 | 1 | ||
| PayCode | varchar | 50 | 50 | 1 | ||
| PayType | varchar | 50 | 50 | 1 | ||
| PayNbr | varchar | 20 | 20 | 1 | ||
| Expire | varchar | 8 | 8 | 1 | ||
| ChargeAuth | varchar | 8 | 8 | 1 | ||
| CurrCode | varchar | 50 | 50 | 1 | ||
| ConvRate | float | 8 | 53 | 1 | ||
| LtrCode | varchar | 50 | 50 | 1 | ||
| ParaCode1 | varchar | 50 | 50 | 1 | ||
| ParaCode2 | varchar | 50 | 50 | 1 | ||
| PrintPack | varchar | 1 | 1 | 1 | ||
| PrtGrp | int | 4 | 10 | 0 | 1 | |
| AddrType | varchar | 50 | 50 | 1 | ||
| ComputeTax | varchar | 1 | 1 | 1 | ||
| ComputePostage | varchar | 1 | 1 | 1 | ||
| PostageCode | varchar | 50 | 50 | 1 | ||
| SecondTax | money | 8 | 19 | 4 | 1 | |
| AddUserID | bigint | 8 | 19 | 0 | 1 | |
| ChgUserID | bigint | 8 | 19 | 0 | 1 | |
| RouteNbr | varchar | 16 | 16 | 1 | ||
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| ChgDate | datetime | 8 | 23 | 3 | 1 | |
| ProgramID | bigint | 8 | 19 | 0 | 1 | |
| EpisodeID | bigint | 8 | 19 | 0 | 1 | |
| SecCode | varchar | 8 | 8 | 1 | ||
| Pdate | datetime | 8 | 23 | 3 | 1 | |
| TrackingNbr | varchar | 799 | 799 | 1 | ||
| FairMarketValue | money | 8 | 19 | 4 | 1 | |
| Bank | varchar | 50 | 50 | 1 | ||
| RefNbr | bigint | 8 | 19 | 0 | 1 | |
| ActualShipAmount | money | 8 | 19 | 4 | 1 | |
| ActualShipWeight | float | 8 | 53 | 1 | ||
| VoidAuth | varchar | 8 | 8 | 1 | ||
| TransID | bigint | 8 | 19 | 0 | 1 | |
| MediaPlacementId | bigint | 8 | 19 | 0 | 1 | |
| CardNumberEncrypted | varbinary | 256 | 256 | 1 | KEY:Description VALUE: Encrypted Credit Card Number | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_OrderHeader_Batches | OrderHeader | BatchNbr | Batches | BatchNbr | 1 | |
| Primary Key | PK_OrderHeader | OrderHeader | OrdNbr | OrderAddresses | OrdNbr | 1 | |
| Primary Key | PK_OrderHeader | OrderHeader | OrdNbr | OrderComments | OrdNbr | 1 | |
| Primary Key | PK_OrderHeader | OrderHeader | OrdNbr | OrderDetail | OrdNbr | 1 | |
| Primary Key | PK_OrderHeader | OrderHeader | OrdNbr | OrderSubscriptions | OrdNbr | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderHeader | OrdNbr | |||||||
| IDX_EntityID_OrderHeader | EntityID | |||||||
| IDX_Amt_OrderHeader | Amt | |||||||
| IDX_OrderHeader_Status | Status | |||||||
| IDX_BatchNbr_OrderHeader | BatchNbr | |||||||
| IDX_MediaCode_OrderHeader | MediaCode | |||||||
| IDX_MotvCode_OrderHeader | MotvCode | |||||||
| IDX_GiftRef_OrderHeader | GiftRef | |||||||
| IDX_OrderHeader_MediaPlacements | Odate, MediaPlacementId | |||||||
| IDX_ADate_OrderHeader | ADate | |||||||
| OrderSubscriptions | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| RenewalEntityID | bigint | 8 | 19 | 0 | 0 | |
| ProductID | bigint | 8 | 19 | 0 | 1 | |
| Status | varchar | 1 | 1 | 1 | ||
| PurQty | int | 4 | 10 | 0 | 1 | |
| RemainQty | int | 4 | 10 | 0 | 1 | |
| MotvCode | varchar | 50 | 50 | 1 | ||
| OrdNbr | bigint | 8 | 19 | 0 | 1 | |
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| LastDate | datetime | 8 | 23 | 3 | 1 | |
| SubType | varchar | 1 | 1 | 0 | ||
| AddrType | varchar | 50 | 50 | 1 | ||
| OrderDetailID | bigint | 8 | 19 | 0 | 0 | |
| sName | varchar | 80 | 80 | 1 | ||
| saddrlines | varchar | 2000 | 2000 | 1 | ||
| scity | varchar | 50 | 50 | 1 | ||
| sstate | varchar | 50 | 50 | 1 | ||
| szip | varchar | 50 | 50 | 1 | ||
| scounty | varchar | 65 | 65 | 1 | ||
| scountry | varchar | 50 | 50 | 1 | ||
| lastUser | bigint | 8 | 19 | 0 | 1 | |
| note | varchar | 2000 | 2000 | 1 | ||
| AddUser | bigint | 8 | 19 | 0 | 1 | |
| sTitle | varchar | 50 | 50 | 1 | ||
| sFirstName | varchar | 50 | 50 | 1 | ||
| sLastName | varchar | 50 | 50 | 1 | ||
| sSuffix | varchar | 50 | 50 | 1 | ||
| SubscriptionID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__OrderSubs__lastU__7D63964E | OrderSubscriptions | lastUser | (0) | |||
| Default | DF__OrderSubs__SubTy__405A880E | OrderSubscriptions | SubType | ('P') | |||
| Foreign Key | FK_OrderSubscriptions_Entity | OrderSubscriptions | RenewalEntityID | Entity | EntityID | 1 | |
| Foreign Key | FK_OrderSubscriptions_OrderDetail | OrderSubscriptions | OrderDetailID | OrderDetail | OrderDetailID | 1 | |
| Foreign Key | FK_OrderSubscriptions_OrderHeader | OrderSubscriptions | OrdNbr | OrderHeader | OrdNbr | 1 | |
| Foreign Key | FK_OrderSubscriptions_Products | OrderSubscriptions | ProductID | Products | ProductID | 1 | |
| Primary Key | PK_OrderSubscriptions | OrderSubscriptions | OrderDetailID | SubscriptionHistory | OrderDetailID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderSubscriptions | OrderDetailID | |||||||
| OrderSummary | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrderSummaryID | bigint | 8 | 19 | 0 | 0 | |
| EntityID | bigint | 8 | 19 | 0 | 0 | |
| CurrCode | varchar | 50 | 50 | 1 | ||
| Amt | money | 8 | 19 | 4 | 1 | |
| ConvAmt | money | 8 | 19 | 4 | 1 | |
| Nbr | int | 4 | 10 | 0 | 1 | |
| FirstDate | datetime | 8 | 23 | 3 | 1 | |
| FirstAmt | money | 8 | 19 | 4 | 1 | |
| FirstConvAmt | money | 8 | 19 | 4 | 1 | |
| FirstOrdNbr | int | 4 | 10 | 0 | 1 | |
| LargeDate | datetime | 8 | 23 | 3 | 1 | |
| LargeAmt | money | 8 | 19 | 4 | 1 | |
| LargeConvAmt | money | 8 | 19 | 4 | 1 | |
| LargeOrdNbr | int | 4 | 10 | 0 | 1 | |
| LastDate | datetime | 8 | 23 | 3 | 1 | |
| LastAmt | money | 8 | 19 | 4 | 1 | |
| LastConvAmt | money | 8 | 19 | 4 | 1 | |
| LastOrdNbr | int | 4 | 10 | 0 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_OrderSummary_Entity | OrderSummary | EntityID | Entity | EntityID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrderSummary | OrderSummaryID | |||||||
| IDX_OrderSummary_Entity | EntityID | |||||||
| OrgSettings | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| OrgSettingID | bigint | 8 | 19 | 0 | 0 | |
| OrgName | varchar | 50 | 50 | 0 | ||
| OrgValue | varchar | 2000 | 2000 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_OrgSettings | OrgSettingID | |||||||
| Processes | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProcessID | bigint | 8 | 19 | 0 | 0 | |
| UserID | bigint | 8 | 19 | 0 | 0 | |
| ModuleName | varchar | 50 | 50 | 1 | ||
| ViewName | varchar | 50 | 50 | 1 | ||
| ViewID | varchar | 50 | 50 | 1 | ||
| Ordinal | int | 4 | 10 | 0 | 0 | |
| DisplayName | varchar | 30 | 30 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Processes | ProcessID | |||||||
| ProductAccountingSetup | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| AcctID | bigint | 8 | 19 | 0 | 0 | |
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| Type | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 200 | 200 | 1 | ||
| Category | varchar | 50 | 50 | 0 | ||
| Fund | varchar | 50 | 50 | 0 | ||
| GLAcct | varchar | 50 | 50 | 0 | ||
| CC | varchar | 50 | 50 | 0 | ||
| ProjCode | varchar | 50 | 50 | 1 | ||
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_ProductAccountingSetup_Products | ProductAccountingSetup | ProductID | Products | ProductID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductAccountingSetup | AcctID | |||||||
| IDX_ProductID_ProductAccountingSetup | ProductID | |||||||
| ProductActivity | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ActivityID | bigint | 8 | 19 | 0 | 0 | |
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| LocCode | varchar | 50 | 50 | 0 | ||
| TDate | datetime | 8 | 23 | 3 | 0 | |
| Type | varchar | 50 | 50 | 0 | ||
| Qty | int | 4 | 10 | 0 | 0 | |
| Descript | varchar | 2000 | 2000 | 1 | ||
| UnitCost | money | 8 | 19 | 4 | 1 | |
| AddDate | datetime | 8 | 23 | 3 | 0 | |
| AddUserID | bigint | 8 | 19 | 0 | 0 | |
| Category | varchar | 50 | 50 | 1 | ||
| TargetProductID | bigint | 8 | 19 | 0 | 1 | |
| TargetLocation | varchar | 50 | 50 | 1 | ||
| QtyConsumed | int | 4 | 10 | 0 | 1 | |
| EstDeliveryDate | datetime | 8 | 23 | 3 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_ProductActivity_Products | ProductActivity | TargetProductID | Products | ProductID | 1 | |
| Foreign Key | FK_ProductActivity_Products1 | ProductActivity | ProductID | Products | ProductID | 1 | |
| Foreign Key | FK_ProductActivity_tblUser | ProductActivity | AddUserID | tblUser | userID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductActivity | ActivityID, ProductID, LocCode, Type | |||||||
| IDX_ProductActivity_ProductID | ProductID | |||||||
| ProductBOM | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| BOMID | bigint | 8 | 19 | 0 | 0 | |
| Qty | int | 4 | 10 | 0 | 0 | |
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| ComponentID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_ProductBOM_Products | ProductBOM | ProductID | Products | ProductID | 1 | |
| Foreign Key | FK_ProductBOM_Products1 | ProductBOM | ComponentID | Products | ProductID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductBOM | BOMID | |||||||
| IDX_ProductID_ComponentID | ProductID, ComponentID | |||||||
| idx_ProductBOM_ComponentID | ComponentID | |||||||
| ProductDiscounts | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| DiscountID | bigint | 8 | 19 | 0 | 0 | |
| PrcCode | varchar | 50 | 50 | 0 | ||
| UpperLimit | money | 8 | 19 | 4 | 0 | |
| Rate | float | 8 | 53 | 1 | ||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductDiscounts | DiscountID | |||||||
| ProductHistory | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProductHistoryID | bigint | 8 | 19 | 0 | 0 | |
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| LocCode | varchar | 50 | 50 | 0 | ||
| CurrYear | int | 4 | 10 | 0 | 0 | |
| CurrMonth | int | 4 | 10 | 0 | 0 | |
| QtyBeg | int | 4 | 10 | 0 | 0 | |
| QtyAll | int | 4 | 10 | 0 | 0 | |
| QtyOrd | int | 4 | 10 | 0 | 0 | |
| QtyRec | int | 4 | 10 | 0 | 0 | |
| QtyTrn | int | 4 | 10 | 0 | 0 | |
| QtyAdj | int | 4 | 10 | 0 | 0 | |
| QtyShp | int | 4 | 10 | 0 | 0 | |
| QtyBck | int | 4 | 10 | 0 | 0 | |
| QtyAct | int | 4 | 10 | 0 | 0 | |
| AvgCst | money | 8 | 19 | 4 | 0 | |
| ReOrder | int | 4 | 10 | 0 | 0 | |
| nextdeliverydate | datetime | 8 | 23 | 3 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF_ProductAvailability_AvgCst | ProductHistory | AvgCst | (0) | |||
| Default | DF_ProductAvailability_QtyAct | ProductHistory | QtyAct | (0) | |||
| Default | DF_ProductAvailability_QtyAdj | ProductHistory | QtyAdj | (0) | |||
| Default | DF_ProductAvailability_QtyAll | ProductHistory | QtyAll | (0) | |||
| Default | DF_ProductAvailability_QtyBck | ProductHistory | QtyBck | (0) | |||
| Default | DF_ProductAvailability_QtyBeg | ProductHistory | QtyBeg | (0) | |||
| Default | DF_ProductAvailability_QtyOrd | ProductHistory | QtyOrd | (0) | |||
| Default | DF_ProductAvailability_QtyRec | ProductHistory | QtyRec | (0) | |||
| Default | DF_ProductAvailability_QtyShp | ProductHistory | QtyShp | (0) | |||
| Default | DF_ProductAvailability_QtyTrn | ProductHistory | QtyTrn | (0) | |||
| Foreign Key | FK_ProductAvailability_Products | ProductHistory | ProductID | Products | ProductID | 1 | |
| Unique | IDX_UK_ProductHistory | ProductHistory | CurrMonth | 4 | |||
| Unique | IDX_UK_ProductHistory | ProductHistory | CurrYear | 3 | |||
| Unique | IDX_UK_ProductHistory | ProductHistory | LocCode | 2 | |||
| Unique | IDX_UK_ProductHistory | ProductHistory | ProductID | 1 | |||
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductAvailability | ProductHistoryID | |||||||
| IDX_UK_ProductHistory | ProductID, LocCode, CurrYear, CurrMonth | |||||||
| ProductKeywords | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProdKeywordID | bigint | 8 | 19 | 0 | 0 | |
| Keyword | varchar | 50 | 50 | 0 | ||
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_ProductKeywords_Products | ProductKeywords | ProductID | Products | ProductID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductKeywords | ProdKeywordID | |||||||
| IDX_ProductKeywords_ProductID | ProductID | |||||||
| ProductLocation | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProductLocationID | bigint | 8 | 19 | 0 | 0 | |
| LocCode | varchar | 50 | 50 | 0 | ||
| LocActual | varchar | 50 | 50 | 1 | ||
| Note | varchar | 2000 | 2000 | 1 | ||
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| Allocated | int | 4 | 10 | 0 | 0 | |
| OnHand | int | 4 | 10 | 0 | 0 | |
| OnOrder | int | 4 | 10 | 0 | 0 | |
| EstDeliveryDate | datetime | 8 | 23 | 3 | 1 | |
| Backordered | int | 4 | 10 | 0 | 0 | |
| Inactive | bit | 1 | 1 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Default | DF__ProductLo__Backo__3D53FE31 | ProductLocation | Backordered | (0) | |||
| Default | DF__ProductLo__Inact__1F0617E9 | ProductLocation | Inactive | (0) | |||
| Default | DF_ProductLocation_Allocated | ProductLocation | Allocated | (0) | |||
| Default | DF_ProductLocation_OnHand | ProductLocation | OnHand | (0) | |||
| Default | DF_ProductLocation_OnOrder | ProductLocation | OnOrder | (0) | |||
| Foreign Key | FK_ProductLocation_Products | ProductLocation | ProductID | Products | ProductID | 1 | |
| Primary Key | PK_ProductLocation | ProductLocation | ProductLocationID | OrderDetail | ProductLocationID | 1 | |
| Primary Key | PK_ProductLocation | ProductLocation | ProductLocationID | SubscriptionHistory | ProductLocationID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductLocation | ProductLocationID | |||||||
| IDX_ProductLocation_ProductID_LocCode | ProductID, LocCode | |||||||
| ProductPrices | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProductPriceID | bigint | 8 | 19 | 0 | 0 | |
| PriceCode | varchar | 50 | 50 | 0 | ||
| Price | money | 8 | 19 | 4 | 1 | |
| Note | varchar | 2000 | 2000 | 1 | ||
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Foreign Key | FK_ProductPrices_Products | ProductPrices | ProductID | Products | ProductID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_ProductPrices | ProductPriceID | |||||||
| IDX_ProductPrices_ProductID | ProductID | |||||||
| Products | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProductID | bigint | 8 | 19 | 0 | 0 | |
| ProdCode | varchar | 50 | 50 | 0 | ||
| Descript | varchar | 2000 | 2000 | 1 | ||
| Desc2 | varchar | 50 | 50 | 1 | ||
| Type | varchar | 50 | 50 | 0 | ||
| Designation | varchar | 50 | 50 | 0 | ||
| Category | varchar | 50 | 50 | 1 | ||
| Weight | float | 8 | 53 | 1 | ||
| Inactive | int | 4 | 10 | 0 | 1 | |
| Class | varchar | 50 | 50 | 1 | ||
| PreferredVendor | varchar | 50 | 50 | 1 | ||
| PreferredVendorID | bigint | 8 | 19 | 0 | 1 | |
| MinReorderQty | int | 4 | 10 | 0 | 1 | |
| LeadTime | int | 4 | 10 | 0 | 1 | |
| ProjectedCost | money | 8 | 19 | 4 | 1 | |
| ActualCost | money | 8 | 19 | 4 | 1 | |
| FairMarketValue | money | 8 | 19 | 4 | 1 | |
| AddUserId | bigint | 8 | 19 | 0 | 1 | |
| AddDate | datetime | 8 | 23 | 3 | 1 | |
| ChgUserID | bigint | 8 | 19 | 0 | 1 | |
| ChgDate | datetime | 8 | 23 | 3 | 1 | |
| Note | varchar | 2000 | 2000 | 1 | ||
| DefaultPrice | money | 8 | 19 | 4 | 1 | |
| Constraints | |||||||
| Constraint Type | Contraint Name | Table | Column | FK Table | FK Column | Key No. | Default |
| Primary Key | PK_Products | Products | ProductID | MediaPremiums | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | OrderSubscriptions | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductAccountingSetup | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductActivity | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductBOM | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductHistory | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductKeywords | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductLocation | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | ProductPrices | ProductID | 1 | |
| Primary Key | PK_Products | Products | ProductID | SubscriptionHistory | ProductID | 1 | |
| Indexes | ||||||||
| Index Name | Indexed Columns | |||||||
| PK_Products | ProductID | |||||||
| IDX_Products_ProdCode | ProdCode | |||||||
| ProjectCategory | ||||||
| Column | Type | Length | Precision | Scale | Nullable | Comments |
| ProjectCategoryID | bigint | 8 | 19 | 0 | 0 | |
| SubAcct | varchar | 3 | 3 | 1 | ||
| ActiveDonor | bit | 1 | 1 | 0 | 1 | |
| ActiveAcct | bit | 1 | ||||