ScrewTurn Wiki
Navigation
Main Page
Random Page
Create a new Page
All Pages
Categories
Administration
File Management
Login/Logout
Language Selection
Your Profile
Create Account
Quick Search
Advanced Search »
Back
History
Sales.SalesTaxRate_(table)
== wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- valign="top" | '''Table''' | Sales.SalesTaxRate |- valign="top" | '''Description''' | Tax rate lookup table. |} === Columns === {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Column''' | '''Data Type''' | '''Nullable''' | '''Default''' | '''Description''' |- valign="top" | SalesTaxRateID | int | not null | | Primary key for SalesTaxRate records. |- valign="top" | StateProvinceID | int | not null | | State, province, or country/region the sales tax applies to. |- valign="top" | TaxType | tinyint | not null | | 1 = Tax applied to retail transactions, 2 = Tax applied to wholesale transactions, 3 = Tax applied to all sales (retail and wholesale) transactions. |- valign="top" | TaxRate | smallmoney | not null | ((0.00)) | Tax rate amount. |- valign="top" | Name | dbo.Name | not null | | Tax rate description. |- valign="top" | rowguid | uniqueidentifier | not null | (newid()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. |- valign="top" | ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |} === Primary Key === {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Primary Key''' | '''Columns''' |- valign="top" | PK_SalesTaxRate_SalesTaxRateID | SalesTaxRateID |} === Indexes === {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Index''' | '''Type''' | '''Columns''' |- valign="top" | AK_SalesTaxRate_rowguid | Unique | rowguid |- valign="top" | AK_SalesTaxRate_StateProvinceID_TaxType | Unique | StateProvinceID, TaxType |} === Check Constraints === {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Check Constraint''' | '''Expression''' | '''Description''' |- valign="top" | CK_SalesTaxRate_TaxType | ([TaxType]>=(1) AND [TaxType]<=(3)) | Check constraint [TaxType] BETWEEN (1) AND (3) |} === Foreign Keys === {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Relation''' | '''Column''' | '''Referenced Column''' |- valign="top" | [[Person.StateProvince_(table)|Person.StateProvince]] | StateProvinceID | StateProvinceID |} === References === {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Dependency Type''' | '''Object Type''' | '''Referenced Object''' |- valign="top" | Data Type | Type | [[dbo.Name_(type)|dbo.Name]] |- valign="top" | Schema | Schema | [[Sales_(schema)|Sales]] |} == automatically generated == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table''' | Sales.SalesTaxRate |- valign="top" | '''Description''' | Tax rate lookup table. |- |- |} {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Column''' | '''Data Type''' | '''Nullable''' | '''Default''' | '''Description / PK / Index''' |- | SalesTaxRateID | int | not null | | Primary key for SalesTaxRate records.<br />PK_SalesTaxRate_SalesTaxRateID |- | StateProvinceID | int | not null | | State, province, or country/region the sales tax applies to.<br />AK_SalesTaxRate_StateProvinceID_TaxType |- | TaxType | tinyint | not null | | 1 = Tax applied to retail transactions, 2 = Tax applied to wholesale transactions, 3 = Tax applied to all sales (retail and wholesale) transactions.<br />AK_SalesTaxRate_StateProvinceID_TaxType |- | TaxRate | smallmoney | not null | (0.00) | Tax rate amount.<br /> |- | Name | Name | not null | | Tax rate description.<br /> |- | rowguid | uniqueidentifier | not null | (NEWID()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.<br />AK_SalesTaxRate_rowguid |- | ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated.<br /> |} {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Relation''' | '''Column''' | '''Referenced Column''' |- | [[Person.StateProvince_(table)|Person.StateProvince]] | StateProvinceID | StateProvinceID |} {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- style="background:silver" | '''Dependency Type''' | '''Object Type''' | '''Referenced Object''' |- | Data Type | Type | [[dbo.Name_(type)|dbo.Name]] |- | Schema | Schema | [[Sales_(schema)|Sales]] |}
ScrewTurn Wiki version 2.0.36. Some of the icons created by
FamFamFam
.