Tables [dbo].[RevenueRatingImportErrors]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created4:57:10 PM Thursday, September 7, 2006
Last Modified11:13:41 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_RevenueRatingImportErrors: RevenueRatingImportErrorsIDRevenueRatingImportErrorsIDint4
No
1 - 1
Foreign Keys FK_RevenueRatingImportErrors_ErrorCode: [dbo].[ErrorCode].ErrorCodeFIDErrorCodeFIDint4
Yes
Descriptionvarchar(128)128
Yes
Foreign Keys FK_RevenueRatingImportErrors_Orders: [dbo].[Orders].OrdersFIDIndexes IX_RevenueRatingImportErrors_OrdersFID: OrdersFIDOrdersFIDint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_RevenueRatingImportErrors: RevenueRatingImportErrorsIDPK_RevenueRatingImportErrorsRevenueRatingImportErrorsID
Yes
80
IX_RevenueRatingImportErrors_OrdersFIDOrdersFID80
Foreign Keys Foreign Keys
NameColumns
FK_RevenueRatingImportErrors_ErrorCodeErrorCodeFID->[dbo].[ErrorCode].[ECPriKey]
FK_RevenueRatingImportErrors_OrdersOrdersFID->[dbo].[Orders].[PriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RevenueRatingImportErrors]
(
[RevenueRatingImportErrorsID] [int] NOT NULL IDENTITY(1, 1),
[ErrorCodeFID] [int] NULL,
[Description] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[OrdersFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RevenueRatingImportErrors] ADD CONSTRAINT [PK_RevenueRatingImportErrors] PRIMARY KEY NONCLUSTERED  ([RevenueRatingImportErrorsID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_RevenueRatingImportErrors_OrdersFID] ON [dbo].[RevenueRatingImportErrors] ([OrdersFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RevenueRatingImportErrors] ADD CONSTRAINT [FK_RevenueRatingImportErrors_ErrorCode] FOREIGN KEY ([ErrorCodeFID]) REFERENCES [dbo].[ErrorCode] ([ECPriKey])
GO
ALTER TABLE [dbo].[RevenueRatingImportErrors] ADD CONSTRAINT [FK_RevenueRatingImportErrors_Orders] FOREIGN KEY ([OrdersFID]) REFERENCES [dbo].[Orders] ([PriKey])
GO
GRANT SELECT ON  [dbo].[RevenueRatingImportErrors] TO [MssExec]
GRANT INSERT ON  [dbo].[RevenueRatingImportErrors] TO [MssExec]
GRANT DELETE ON  [dbo].[RevenueRatingImportErrors] TO [MssExec]
GRANT UPDATE ON  [dbo].[RevenueRatingImportErrors] TO [MssExec]
GO
Uses