Tables [dbo].[PMImportDetailError]
Properties
PropertyValue
HeapYes
Row Count (~)0
Created1:05:54 PM Monday, January 28, 2013
Last Modified11:13:41 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
PMImportDetailErrorIDint4
No
1 - 1
Foreign Keys FK_PMImportDetailError_PMImportDetail: [dbo].[PMImportDetail].PMImportDetailFIDPMImportDetailFIDint4
No
Foreign Keys FK_PMImportDetailError_ErrorCode: [dbo].[ErrorCode].ErrorCodeFIDErrorCodeFIDint4
Yes
Foreign Keys Foreign Keys
NameColumns
FK_PMImportDetailError_ErrorCodeErrorCodeFID->[dbo].[ErrorCode].[ECPriKey]
FK_PMImportDetailError_PMImportDetailPMImportDetailFID->[dbo].[PMImportDetail].[PMImportDetailID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PMImportDetailError]
(
[PMImportDetailErrorID] [int] NOT NULL IDENTITY(1, 1),
[PMImportDetailFID] [int] NOT NULL,
[ErrorCodeFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PMImportDetailError] ADD CONSTRAINT [FK_PMImportDetailError_ErrorCode] FOREIGN KEY ([ErrorCodeFID]) REFERENCES [dbo].[ErrorCode] ([ECPriKey])
GO
ALTER TABLE [dbo].[PMImportDetailError] ADD CONSTRAINT [FK_PMImportDetailError_PMImportDetail] FOREIGN KEY ([PMImportDetailFID]) REFERENCES [dbo].[PMImportDetail] ([PMImportDetailID])
GO
GRANT SELECT ON  [dbo].[PMImportDetailError] TO [MssExec]
GRANT INSERT ON  [dbo].[PMImportDetailError] TO [MssExec]
GRANT DELETE ON  [dbo].[PMImportDetailError] TO [MssExec]
GRANT UPDATE ON  [dbo].[PMImportDetailError] TO [MssExec]
GO
Uses
Used By