Tables [dbo].[XmlSystemCredential]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:10:47 AM Thursday, May 23, 2024
Last Modified9:10:50 AM Thursday, May 23, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_XmlSystemCredential: XmlSystemCredentialIdXmlSystemCredentialIdint4
No
1 - 1
Foreign Keys FK_XmlSystemCredential_XmlSystem: [dbo].[XmlSystem].XmlSystemFIDIndexes IX_XmlSystemCredential_XmlSystem: XmlSystemFIDXmlSystemFIDint4
No
UserIDvarchar(100)100
Yes
Passwordvarchar(max)max
Yes
Certvarchar(max)max
Yes
CertLastUpdateddatetime8
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_XmlSystemCredential: XmlSystemCredentialIdPK_XmlSystemCredentialXmlSystemCredentialId
Yes
IX_XmlSystemCredential_XmlSystemXmlSystemFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlSystemCredential_XmlSystemXmlSystemFID->[dbo].[XmlSystem].[XmlSystemID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlSystemCredential]
(
[XmlSystemCredentialId] [int] NOT NULL IDENTITY(1, 1),
[XmlSystemFID] [int] NOT NULL,
[UserID] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Password] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Cert] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CertLastUpdated] [datetime] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemCredential] ADD CONSTRAINT [PK_XmlSystemCredential] PRIMARY KEY CLUSTERED  ([XmlSystemCredentialId]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_XmlSystemCredential_XmlSystem] ON [dbo].[XmlSystemCredential] ([XmlSystemFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemCredential] ADD CONSTRAINT [FK_XmlSystemCredential_XmlSystem] FOREIGN KEY ([XmlSystemFID]) REFERENCES [dbo].[XmlSystem] ([XmlSystemID])
GO
GRANT SELECT ON  [dbo].[XmlSystemCredential] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlSystemCredential] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlSystemCredential] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlSystemCredential] TO [MssExec]
GO
Uses