[dbo].[XmlSystemTransfer]
CREATE TABLE [dbo].[XmlSystemTransfer]
(
[XmlSystemTransferId] [int] NOT NULL IDENTITY(1, 1),
[XmlSystemFid] [int] NOT NULL,
[XmlSystemDataTypeMapFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemTransfer] ADD CONSTRAINT [PK_XmlSystemTransfer] PRIMARY KEY CLUSTERED ([XmlSystemTransferId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemTransfer] ADD CONSTRAINT [FK_XmlSystemTransfer_XmlSystemDataTypeMap] FOREIGN KEY ([XmlSystemDataTypeMapFid]) REFERENCES [dbo].[XmlSystemDataTypeMap] ([XmlSystemDataTypeMapID])
GO
ALTER TABLE [dbo].[XmlSystemTransfer] ADD CONSTRAINT [FK_XmlSystemTransfer_XmlSystem] FOREIGN KEY ([XmlSystemFid]) REFERENCES [dbo].[XmlSystem] ([XmlSystemID])
GO
GRANT SELECT ON [dbo].[XmlSystemTransfer] TO [MssExec]
GRANT INSERT ON [dbo].[XmlSystemTransfer] TO [MssExec]
GRANT DELETE ON [dbo].[XmlSystemTransfer] TO [MssExec]
GRANT UPDATE ON [dbo].[XmlSystemTransfer] TO [MssExec]
GO