Sales.SalesPersonQuotaHistory Table
Information
| Name | SalesPersonQuotaHistory |
| Schema | Sales |
| Row Count | 0 |
| Data Size | |
| Index Size | |
| Reserved Size | |
| Unused Size | |
| Created | 29.3.2010. 21:58:18 |
| Modified | 29.3.2010. 21:58:55 |
Extended Properties
| Name | Type | Property Name | Value |
| SalesPersonQuotaHistory | TABLE | MS_Description | Sales performance tracking. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | SalesPersonID | int |   | | Sales.SalesPerson.SalesPersonID | |   | |
|   |   |   | QuotaDate | datetime |   | | | |   | |
| |   |   | SalesQuota | money |   | | | |   | |
| |   |   | rowguid | uniqueidentifier |   | | | (newid()) |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Check Constraints
Foreign Key Constraints
SQL Script
CREATE TABLE [Sales].[SalesPersonQuotaHistory] (
[SalesPersonID] int NOT NULL,
[QuotaDate] datetime NOT NULL,
[SalesQuota] money NOT NULL,
[rowguid] uniqueidentifier NOT NULL DEFAULT (newid()),
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_SalesPersonQuotaHistory_rowguid] on [Sales].[SalesPersonQuotaHistory]([rowguid]);