Sales.SalesTaxRate Table
Information
| Name | SalesTaxRate |
| 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 |
| SalesTaxRate | TABLE | MS_Description | Tax rate lookup table. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | SalesTaxRateID | int |   | | | |   | |
| |   |   | StateProvinceID | int |   | | Person.StateProvince.StateProvinceID | |   | |
| |   |   | TaxType | tinyint |   | | | |   | |
| |   |   | TaxRate | smallmoney |   | | | ((0.00)) |   | |
| |   |   | Name | nvarchar(50) |   | SQL_Latin1_General_CP1_CI_AS | | |   | |
| |   |   | rowguid | uniqueidentifier |   | | | (newid()) |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Check Constraints
Foreign Key Constraints
SQL Script
CREATE TABLE [Sales].[SalesTaxRate] (
[SalesTaxRateID] int NOT NULL IDENTITY,
[StateProvinceID] int NOT NULL,
[TaxType] tinyint NOT NULL,
[TaxRate] smallmoney NOT NULL DEFAULT ((0.00)),
[Name] nvarchar(50) NOT NULL,
[rowguid] uniqueidentifier NOT NULL DEFAULT (newid()),
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_SalesTaxRate_StateProvinceID_TaxType] on [Sales].[SalesTaxRate]([StateProvinceID], [TaxType]);
CREATE UNIQUE INDEX [AK_SalesTaxRate_rowguid] on [Sales].[SalesTaxRate]([rowguid]);