Tables [dbo].[RevenueRatingImportInvoiceFuel]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)3
Created9:05:59 AM Friday, November 22, 2024
Last Modified9:05:59 AM Friday, November 22, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_RevenueRatingImportInvoiceFuel: RevenueRatingImportInvoiceFuelIDRevenueRatingImportInvoiceFuelIDint4
No
1 - 1
Cluster Key IX_RevenueRatingImportInvoiceFuel_FuelCalculatedCode: FuelDistributionCode\CalculatedFromDistributionCodeFuelDistributionCodevarchar(10)10
No
Cluster Key IX_RevenueRatingImportInvoiceFuel_FuelCalculatedCode: FuelDistributionCode\CalculatedFromDistributionCodeCalculatedFromDistributionCodevarchar(10)10
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_RevenueRatingImportInvoiceFuel: RevenueRatingImportInvoiceFuelIDPK_RevenueRatingImportInvoiceFuelRevenueRatingImportInvoiceFuelID
Yes
Cluster Key IX_RevenueRatingImportInvoiceFuel_FuelCalculatedCode: FuelDistributionCode\CalculatedFromDistributionCodeIX_RevenueRatingImportInvoiceFuel_FuelCalculatedCodeFuelDistributionCode, CalculatedFromDistributionCode
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RevenueRatingImportInvoiceFuel]
(
[RevenueRatingImportInvoiceFuelID] [int] NOT NULL IDENTITY(1, 1),
[FuelDistributionCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CalculatedFromDistributionCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RevenueRatingImportInvoiceFuel] ADD CONSTRAINT [PK_RevenueRatingImportInvoiceFuel] PRIMARY KEY NONCLUSTERED  ([RevenueRatingImportInvoiceFuelID]) ON [PRIMARY]
GO
CREATE UNIQUE CLUSTERED INDEX [IX_RevenueRatingImportInvoiceFuel_FuelCalculatedCode] ON [dbo].[RevenueRatingImportInvoiceFuel] ([FuelDistributionCode], [CalculatedFromDistributionCode]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[RevenueRatingImportInvoiceFuel] TO [MssExec]
GRANT INSERT ON  [dbo].[RevenueRatingImportInvoiceFuel] TO [MssExec]
GRANT DELETE ON  [dbo].[RevenueRatingImportInvoiceFuel] TO [MssExec]
GRANT UPDATE ON  [dbo].[RevenueRatingImportInvoiceFuel] TO [MssExec]
GO
Uses