Owner: | Sales |
Creation Date: | 04/26/2006 |
Located On: | PRIMARY |
Data Size KB: | 8 |
Index Size KB: | 8 |
Rows: | 10 |
Description: | Lookup table of customer purchase reasons. |
Name | Data Type | Length | NULL | Default | IsIdentity | IsGUID | Description | ||
SalesReasonID | int | 4 | Primary key for SalesReason records. | ||||||
Name | Name | 100 | Sales reason description. | ||||||
ReasonType | Name | 100 | Category the sales reason belongs to. | ||||||
ModifiedDate | datetime | 8 | (getdate()) | Date and time the record was last updated. |
Name | Seed | Increment | Not for replication | |
SalesReasonID | 1 | 1 |
Index | Primary | Unique | Description | |
PK_SalesReason_SalesReasonID | Primary key (clustered) constraint |
Table | Foreign Key | Primary Key or Unique Constraint | |
Sales.SalesOrderHeaderSalesReason | FK_SalesOrderHeaderSalesReason_SalesReason_SalesReasonID | PK_SalesReason_SalesReasonID |
Objects that [Sales].[SalesReason] depends on
Object Name | Owner | Object Type | Dep Level | |
Name | dbo | User Defined type | 1 |
Objects that depend on [Sales].[SalesReason]
Object Name | Owner | Object Type | Dep Level | |
SalesOrderHeaderSalesReason | Sales | Table | 1 |
CREATE TABLE [SalesReason] (
[SalesReasonID] [int] IDENTITY (1, 1) NOT NULL ,
[Name] [Name] NOT NULL ,
[ReasonType] [Name] NOT NULL ,
[ModifiedDate] [datetime] NOT NULL CONSTRAINT [DF_SalesReason_ModifiedDate] DEFAULT (getdate()),
CONSTRAINT [PK_SalesReason_SalesReasonID] PRIMARY KEY CLUSTERED
(
[SalesReasonID]
) ON [PRIMARY]
) ON [PRIMARY]
GO
See Also
List of tables