Tables [dbo].[XmlSystemConnector]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:44:56 AM Thursday, December 5, 2024
Last Modified8:45:42 AM Thursday, December 5, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_XmlSystemConnector: XmlSystemConnectorIDXmlSystemConnectorIDint4
No
1 - 1
Foreign Keys FK_XmlSystemConnector_XmlSystem: [dbo].[XmlSystem].XmlSystemFIDIndexes IX_XmlSystemConnector_XmlSystem: XmlSystemFIDXmlSystemFIDint4
No
TokenUrlvarchar(128)128
Yes
ServiceUrlvarchar(128)128
Yes
Foreign Keys FK_XmlSystemConnector_DocumentType: [dbo].[DocumentType].DocumentTypeFIDDocumentTypeFIDint4
Yes
Foreign Keys FK_XmlSystemConnector_CheckedWatchListNoteTypeFID: [dbo].[NoteType].CheckedWatchListNoteTypeFIDCheckedWatchListNoteTypeFIDsmallint2
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_XmlSystemConnector: XmlSystemConnectorIDPK_XmlSystemConnectorXmlSystemConnectorID
Yes
IX_XmlSystemConnector_XmlSystemXmlSystemFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlSystemConnector_CheckedWatchListNoteTypeFIDCheckedWatchListNoteTypeFID->[dbo].[NoteType].[NoteTypeID]
FK_XmlSystemConnector_DocumentTypeDocumentTypeFID->[dbo].[DocumentType].[DocumentTypeID]
FK_XmlSystemConnector_XmlSystemXmlSystemFID->[dbo].[XmlSystem].[XmlSystemID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlSystemConnector]
(
[XmlSystemConnectorID] [int] NOT NULL IDENTITY(1, 1),
[XmlSystemFID] [int] NOT NULL,
[TokenUrl] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ServiceUrl] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DocumentTypeFID] [int] NULL,
[CheckedWatchListNoteTypeFID] [smallint] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemConnector] ADD CONSTRAINT [PK_XmlSystemConnector] PRIMARY KEY CLUSTERED  ([XmlSystemConnectorID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemConnector] ADD CONSTRAINT [IX_XmlSystemConnector_XmlSystem] UNIQUE NONCLUSTERED  ([XmlSystemFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemConnector] ADD CONSTRAINT [FK_XmlSystemConnector_CheckedWatchListNoteTypeFID] FOREIGN KEY ([CheckedWatchListNoteTypeFID]) REFERENCES [dbo].[NoteType] ([NoteTypeID])
GO
ALTER TABLE [dbo].[XmlSystemConnector] ADD CONSTRAINT [FK_XmlSystemConnector_DocumentType] FOREIGN KEY ([DocumentTypeFID]) REFERENCES [dbo].[DocumentType] ([DocumentTypeID])
GO
ALTER TABLE [dbo].[XmlSystemConnector] ADD CONSTRAINT [FK_XmlSystemConnector_XmlSystem] FOREIGN KEY ([XmlSystemFID]) REFERENCES [dbo].[XmlSystem] ([XmlSystemID])
GO
GRANT SELECT ON  [dbo].[XmlSystemConnector] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlSystemConnector] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlSystemConnector] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlSystemConnector] TO [MssExec]
GO
Uses