Tables [dbo].[TaxableAuthorityType]
Properties
PropertyValue
HeapYes
Row Count (~)0
Created8:26:58 AM Thursday, June 27, 2013
Last Modified11:13:43 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_TaxableAuthorityType: TaxableAuthorityTypeIDTaxableAuthorityTypeIDint4
No
1 - 1
Foreign Keys FK_TaxableAuthorityType_SalesTaxSetup: [dbo].[SalesTaxSetup].SalesTaxSetupFIDSalesTaxSetupFIDint4
No
Foreign Keys FK_TaxableAuthorityType_AuthorityType: [dbo].[AuthorityTypes].AuthorityTypeFIDIndexes IX_TaxableAuthorityType_AuthorityTypeFID: AuthorityTypeFIDAuthorityTypeFIDint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_TaxableAuthorityType: TaxableAuthorityTypeIDPK_TaxableAuthorityTypeTaxableAuthorityTypeID
Yes
IX_TaxableAuthorityType_AuthorityTypeFIDAuthorityTypeFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_TaxableAuthorityType_AuthorityTypeAuthorityTypeFID->[dbo].[AuthorityTypes].[AuthPriKey]
FK_TaxableAuthorityType_SalesTaxSetupSalesTaxSetupFID->[dbo].[SalesTaxSetup].[SalesTaxSetupID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[TaxableAuthorityType]
(
[TaxableAuthorityTypeID] [int] NOT NULL IDENTITY(1, 1),
[SalesTaxSetupFID] [int] NOT NULL,
[AuthorityTypeFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TaxableAuthorityType] ADD CONSTRAINT [PK_TaxableAuthorityType] PRIMARY KEY NONCLUSTERED  ([TaxableAuthorityTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TaxableAuthorityType] ADD CONSTRAINT [IX_TaxableAuthorityType_AuthorityTypeFID] UNIQUE NONCLUSTERED  ([AuthorityTypeFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TaxableAuthorityType] ADD CONSTRAINT [FK_TaxableAuthorityType_AuthorityType] FOREIGN KEY ([AuthorityTypeFID]) REFERENCES [dbo].[AuthorityTypes] ([AuthPriKey])
GO
ALTER TABLE [dbo].[TaxableAuthorityType] ADD CONSTRAINT [FK_TaxableAuthorityType_SalesTaxSetup] FOREIGN KEY ([SalesTaxSetupFID]) REFERENCES [dbo].[SalesTaxSetup] ([SalesTaxSetupID])
GO
GRANT SELECT ON  [dbo].[TaxableAuthorityType] TO [MssExec]
GRANT INSERT ON  [dbo].[TaxableAuthorityType] TO [MssExec]
GRANT DELETE ON  [dbo].[TaxableAuthorityType] TO [MssExec]
GRANT UPDATE ON  [dbo].[TaxableAuthorityType] TO [MssExec]
GO
Uses