Tables [dbo].[SalesTaxCode]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:21:13 AM Thursday, June 27, 2013
Last Modified11:13:41 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_SalesTaxCode: SalesTaxCodeIDSalesTaxCodeIDint4
No
1 - 1
Cluster Key IX_SalesTaxCode_TaxCode: TaxCodeTaxCodevarchar(25)25
No
Indexes IX_SalesTaxCode_Description: DescriptionDescriptionvarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_SalesTaxCode: SalesTaxCodeIDPK_SalesTaxCodeSalesTaxCodeID
Yes
IX_SalesTaxCode_DescriptionDescription
Yes
Cluster Key IX_SalesTaxCode_TaxCode: TaxCodeIX_SalesTaxCode_TaxCodeTaxCode
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SalesTaxCode]
(
[SalesTaxCodeID] [int] NOT NULL IDENTITY(1, 1),
[TaxCode] [varchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SalesTaxCode] ADD CONSTRAINT [PK_SalesTaxCode] PRIMARY KEY NONCLUSTERED  ([SalesTaxCodeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SalesTaxCode] ADD CONSTRAINT [IX_SalesTaxCode_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SalesTaxCode] ADD CONSTRAINT [IX_SalesTaxCode_TaxCode] UNIQUE CLUSTERED  ([TaxCode]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[SalesTaxCode] TO [MssExec]
GRANT INSERT ON  [dbo].[SalesTaxCode] TO [MssExec]
GRANT DELETE ON  [dbo].[SalesTaxCode] TO [MssExec]
GRANT UPDATE ON  [dbo].[SalesTaxCode] TO [MssExec]
GO
Uses
Used By