Tables [dbo].[XmlInterfaceCredentialMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:06:54 AM Friday, December 7, 2018
Last Modified9:06:54 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInterfaceCredentialMap: XmlInterfaceCredentialMapIDXmlInterfaceCredentialMapIDint4
No
1 - 1
Cluster Key IX_XmlInterfaceCredentialMap_SysUserFID_XMLInterface_UserName: SysUserFID\XmlInterfaceFID\UserNameForeign Keys FK_XmlInterfaceCredentialMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDXmlInterfaceFIDint4
No
Cluster Key IX_XmlInterfaceCredentialMap_SysUserFID_XMLInterface_UserName: SysUserFID\XmlInterfaceFID\UserNameForeign Keys FK_XmlInterfaceCredentialMap_SysUser: [dbo].[Sysuser].SysUserFIDSysUserFIDint4
No
Cluster Key IX_XmlInterfaceCredentialMap_SysUserFID_XMLInterface_UserName: SysUserFID\XmlInterfaceFID\UserNameUserNamevarchar(512)512
No
Passwordvarchar(512)512
Yes
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInterfaceCredentialMap: XmlInterfaceCredentialMapIDPK_XmlInterfaceCredentialMapXmlInterfaceCredentialMapID
Yes
Cluster Key IX_XmlInterfaceCredentialMap_SysUserFID_XMLInterface_UserName: SysUserFID\XmlInterfaceFID\UserNameIX_XmlInterfaceCredentialMap_SysUserFID_XMLInterface_UserNameSysUserFID, XmlInterfaceFID, UserName
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInterfaceCredentialMap_SysUserSysUserFID->[dbo].[Sysuser].[SysUserID]
FK_XmlInterfaceCredentialMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInterfaceCredentialMap]
(
[XmlInterfaceCredentialMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[SysUserFID] [int] NOT NULL,
[UserName] [varchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Password] [varchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfaceCredentialMap] ADD CONSTRAINT [PK_XmlInterfaceCredentialMap] PRIMARY KEY NONCLUSTERED  ([XmlInterfaceCredentialMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfaceCredentialMap] ADD CONSTRAINT [IX_XmlInterfaceCredentialMap_SysUserFID_XMLInterface_UserName] UNIQUE CLUSTERED  ([SysUserFID], [XmlInterfaceFID], [UserName]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfaceCredentialMap] ADD CONSTRAINT [FK_XmlInterfaceCredentialMap_SysUser] FOREIGN KEY ([SysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
ALTER TABLE [dbo].[XmlInterfaceCredentialMap] ADD CONSTRAINT [FK_XmlInterfaceCredentialMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInterfaceCredentialMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInterfaceCredentialMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInterfaceCredentialMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInterfaceCredentialMap] TO [MssExec]
GO
Uses