Welcome
Guest
, you are in:
<root>
•
Login
devio dbscript ScrewTurn Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
»
Back
Sales SalesTaxRate (table)
Modified on 2011/08/27 11:19
by
wikibot
Categorized as
Uncategorized
== 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]] |}
ScrewTurn Wiki
version 3.0.1.400. Some of the icons created by
FamFamFam
.