Tables [dbo].[XmlExternalInterfaceLogin]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created5:34:51 PM Monday, May 4, 2009
Last Modified7:30:27 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlExternalInterfaceLogin: XmlExternalInterfaceLoginIDXmlExternalInterfaceLoginIDint4
No
1 - 1
Foreign Keys FK_XmlExternalInterfaceLogin_XMLInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlExternalInterfaceLogin_XMLInterface_UserAccess: XmlInterfaceFID\UserAccessFIDXmlInterfaceFIDint4
No
Foreign Keys FK_XmlExternalInterfaceLogin_UserAccess: [dbo].[UserAccess].UserAccessFIDIndexes IX_XmlExternalInterfaceLogin_XMLInterface_UserAccess: XmlInterfaceFID\UserAccessFIDUserAccessFIDint4
No
Usernamevarchar(64)64
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_XmlExternalInterfaceLogin: XmlExternalInterfaceLoginIDPK_XmlExternalInterfaceLoginXmlExternalInterfaceLoginID
Yes
80
IX_XmlExternalInterfaceLogin_XMLInterface_UserAccessXmlInterfaceFID, UserAccessFID
Yes
80
Foreign Keys Foreign Keys
NameDeleteColumns
FK_XmlExternalInterfaceLogin_UserAccessCascadeUserAccessFID->[dbo].[UserAccess].[UserAccessPriKey]
FK_XmlExternalInterfaceLogin_XMLInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
Extended Properties
NameLevel 2 TypeLevel 2 NameValue
DescriptionHolds login information for a particular user and external interface
DescriptionCOLUMNUserAccessFIDForeign key to a useraccess record
DescriptionCOLUMNUsernameLogin username for an external interface.
DescriptionCOLUMNXmlExternalInterfaceLoginIDPrimary key of the XmlExternalInterfaceLogin table.
DescriptionCOLUMNXmlInterfaceFIDForeign key to an external interface.
SQL Script
CREATE TABLE [dbo].[XmlExternalInterfaceLogin]
(
[XmlExternalInterfaceLoginID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[UserAccessFID] [int] NOT NULL,
[Username] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceLogin] ADD CONSTRAINT [PK_XmlExternalInterfaceLogin] PRIMARY KEY NONCLUSTERED  ([XmlExternalInterfaceLoginID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceLogin] ADD CONSTRAINT [IX_XmlExternalInterfaceLogin_XMLInterface_UserAccess] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [UserAccessFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceLogin] ADD CONSTRAINT [FK_XmlExternalInterfaceLogin_UserAccess] FOREIGN KEY ([UserAccessFID]) REFERENCES [dbo].[UserAccess] ([UserAccessPriKey]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[XmlExternalInterfaceLogin] ADD CONSTRAINT [FK_XmlExternalInterfaceLogin_XMLInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlExternalInterfaceLogin] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlExternalInterfaceLogin] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlExternalInterfaceLogin] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlExternalInterfaceLogin] TO [MssExec]
GO
EXEC sp_addextendedproperty N'Description', N'Holds login information for a particular user and external interface', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceLogin', NULL, NULL
GO
EXEC sp_addextendedproperty N'Description', N'Foreign key to a useraccess record', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceLogin', 'COLUMN', N'UserAccessFID'
GO
EXEC sp_addextendedproperty N'Description', N'Login username for an external interface.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceLogin', 'COLUMN', N'Username'
GO
EXEC sp_addextendedproperty N'Description', N'Primary key of the XmlExternalInterfaceLogin table.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceLogin', 'COLUMN', N'XmlExternalInterfaceLoginID'
GO
EXEC sp_addextendedproperty N'Description', N'Foreign key to an external interface.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceLogin', 'COLUMN', N'XmlInterfaceFID'
GO
Uses