AdventureWorks Database > Sales Schema : Sales.SalesPersonQuotaHistory Table |
Creation Date | 08/01/2010 08:40 |
File Group | PRIMARY |
Text File Group | |
System Object | ![]() |
Published for Replication | ![]() |
Rows | 163 |
Data Space Used | 16.00 KB |
Index Space Used | 32.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
![]() | SalesPersonID | Sales person identification number. Foreign key to SalesPerson.SalesPersonID. | int | 4 | |||
![]() | QuotaDate | Sales quota date. | datetime | 4 | |||
SalesQuota | Sales quota amount. | money | 8 | ||||
rowguid | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | uniqueidentifier | 16 | (newid()) | |||
ModifiedDate | Date and time the record was last updated. | datetime | 4 | (getdate()) |
Index | Description | Primary | Unique |
---|---|---|---|
AK_SalesPersonQuotaHistory_rowguid | Unique nonclustered index. Used to support replication samples. | ![]() | |
PK_SalesPersonQuotaHistory_SalesPersonID_QuotaDate | Primary key (clustered) constraint | ![]() | ![]() |
Name | Description | Expression |
---|---|---|
CK_SalesPersonQuotaHistory_SalesQuota | Check constraint [SalesQuota] > (0.00) | ([SalesQuota]>(0.00)) |
Relationship | Description |
---|---|
FK_SalesPersonQuotaHistory_SalesPerson_SalesPersonID | Foreign key constraint referencing SalesPerson.SalesPersonID. |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
![]() | Person.Contact | Table | Names of each employee, customer contact, and vendor contact. | 3 |
![]() | HumanResources.Employee | Table | Employee information such as salary, department, and title. | 2 |
![]() | dbo.Flag | User Defined Data Type | 3 | |
![]() | dbo.NameStyle | User Defined Data Type | 4 | |
![]() | dbo.Phone | User Defined Data Type | 4 | |
![]() | Sales.SalesPerson | Table | Sales representative current information. | 1 |
![]() | Sales.SalesTerritory | Table | Sales territory lookup table. | 2 |
|