Tables [dbo].[RevenueRatingImportInvoiceMerge]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)7
Created9:19:45 AM Friday, November 8, 2024
Last Modified9:19:45 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_RevenueRatingImportInvoiceMerge: RevenueRatingImportInvoiceMergeIDRevenueRatingImportInvoiceMergeIDint4
No
1 - 1
Cluster Key IX_RevenueRatingImportInvoiceMerge_DistMergeCode: DistributionCode\MergeToCodeIndexes IX_RevenueRatingImportInvoiceMerge_DistCode: DistributionCodeDistributionCodevarchar(10)10
No
Cluster Key IX_RevenueRatingImportInvoiceMerge_DistMergeCode: DistributionCode\MergeToCodeMergeToCodevarchar(10)10
No
IsPackingbit1
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_RevenueRatingImportInvoiceMerge: RevenueRatingImportInvoiceMergeIDPK_RevenueRatingImportInvoiceMergeRevenueRatingImportInvoiceMergeID
Yes
IX_RevenueRatingImportInvoiceMerge_DistCodeDistributionCode
Yes
Cluster Key IX_RevenueRatingImportInvoiceMerge_DistMergeCode: DistributionCode\MergeToCodeIX_RevenueRatingImportInvoiceMerge_DistMergeCodeDistributionCode, MergeToCode
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RevenueRatingImportInvoiceMerge]
(
[RevenueRatingImportInvoiceMergeID] [int] NOT NULL IDENTITY(1, 1),
[DistributionCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MergeToCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsPacking] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RevenueRatingImportInvoiceMerge] ADD CONSTRAINT [PK_RevenueRatingImportInvoiceMerge] PRIMARY KEY NONCLUSTERED  ([RevenueRatingImportInvoiceMergeID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_RevenueRatingImportInvoiceMerge_DistCode] ON [dbo].[RevenueRatingImportInvoiceMerge] ([DistributionCode]) ON [PRIMARY]
GO
CREATE UNIQUE CLUSTERED INDEX [IX_RevenueRatingImportInvoiceMerge_DistMergeCode] ON [dbo].[RevenueRatingImportInvoiceMerge] ([DistributionCode], [MergeToCode]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[RevenueRatingImportInvoiceMerge] TO [MssExec]
GRANT INSERT ON  [dbo].[RevenueRatingImportInvoiceMerge] TO [MssExec]
GRANT DELETE ON  [dbo].[RevenueRatingImportInvoiceMerge] TO [MssExec]
GRANT UPDATE ON  [dbo].[RevenueRatingImportInvoiceMerge] TO [MssExec]
GO
Uses
Used By