| Field Name | Data Type | Size | Original Type | Default | Nullable | Description | Check |
|---|---|---|---|---|---|---|---|
| ProductID | int | Not null | Product identification number. Foreign key to Product.ProductID. | ||||
| DocumentID | int | Not null | Document identification number. Foreign key to Document.DocumentID. | ||||
| ModifiedDate | datetime | getdate() | Not null | Date and time the record was last updated. |
The object has no extended properties.
| Primary Key Name | Field Names |
|---|---|
| PK_ProductDocument_ProductID_DocumentID | ProductID, DocumentID |
| Foreign | Primary | Key Name |
|---|---|---|
| ProductDocument.DocumentID | Document.DocumentID | FK_ProductDocument_Document_DocumentID |
| ProductDocument.ProductID | Product.ProductID | FK_ProductDocument_Product_ProductID |
| Index Name | Description | Clustered | Unique | Fields |
|---|---|---|---|---|
| PK_ProductDocument_ProductID_DocumentID | Clustered index created by a primary key constraint. | Yes | Yes | ProductID, DocumentID |
| Name | Description | Type | Enabled |
|---|---|---|---|
| uProductDocument | AFTER UPDATE trigger setting the ModifiedDate column in the ProductDocument table to the current date. | after Update | Yes |
| Object Name | Type | Field Name |
|---|---|---|
| Production.uProductDocument | trigger | N/A |