Sales performance tracking.
| Creation Date | 27/10/2017 14:33 |
| 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 | |
|---|---|---|---|---|---|---|---|
| BusinessEntityID | Sales person identification number. Foreign key to SalesPerson.BusinessEntityID. | Integer | 4 | |||
| QuotaDate | Sales quota date. | DBTimeStamp | 4 | |||
| SalesQuota | Sales quota amount. | Currency | 8 | ||||
| rowguid | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | GUID | 16 | (newid()) | |||
| ModifiedDate | Date and time the record was last updated. | DBTimeStamp | 4 | (getdate()) |
| Index | Description | Primary | Unique |
|---|---|---|---|
| AK_SalesPersonQuotaHistory_rowguid | Unique nonclustered index. Used to support replication samples. | ![]() | |
| PK_SalesPersonQuotaHistory_BusinessEntityID_QuotaDate | Primary key (clustered) constraint | ![]() | ![]() |
| Name | Description | Expression |
|---|---|---|
| CK_SalesPersonQuotaHistory_SalesQuota | Check constraint [SalesQuota] > (0.00) | ([SalesQuota]>(0.00)) |
| Relationship | Description |
|---|---|
| FK_SalesPersonQuotaHistory_SalesPerson_BusinessEntityID | Foreign key constraint referencing SalesPerson.SalesPersonID. |
| Database Object | Object Type | Description | Dep Level | |
|---|---|---|---|---|
![]() | Person.BusinessEntity | Table | Source of the ID that connects vendors, customers, and employees with address and contact information. | 4 |
![]() | Person.CountryRegion | Table | Lookup table containing the ISO standard codes for countries and regions. | 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 | |
![]() | Person.Person | Table | Human beings involved with AdventureWorks: employees, customer contacts, and vendor contacts. | 3 |
![]() | Sales.SalesPerson | Table | Sales representative current information. | 1 |
![]() | Sales.SalesTerritory | Table | Sales territory lookup table. | 2 |
|