Tables [dbo].[AgentConnect]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:49:59 AM Thursday, December 5, 2024
Last Modified8:49:59 AM Thursday, December 5, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_AgentConnect: AgentConnectIDIndexes IX_AgentConnect_AgentConnectorName: AgentConnectorName\AgentConnectIDAgentConnectIDint4
No
1 - 1
Foreign Keys FK_AgentConnect_VendorConnect: [dbo].[VendorConnect].VendorConnectFIDIndexes IX_AgentConnect_VendorConnect: VendorConnectFIDVendorConnectFIDint4
No
Indexes IX_AgentConnect_MoversConnectConnectorFID: MoversConnectConnectorFIDMoversConnectConnectorFIDint4
No
Indexes IX_AgentConnect_AgentConnectorName: AgentConnectorName\AgentConnectIDAgentConnectorNamenvarchar(64)128
No
Inactivebit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_AgentConnect: AgentConnectIDPK_AgentConnectAgentConnectID
Yes
IX_AgentConnect_AgentConnectorNameAgentConnectorName, AgentConnectID
Yes
IX_AgentConnect_MoversConnectConnectorFIDMoversConnectConnectorFID
Yes
IX_AgentConnect_VendorConnectVendorConnectFID
Foreign Keys Foreign Keys
NameColumns
FK_AgentConnect_VendorConnectVendorConnectFID->[dbo].[VendorConnect].[VendorConnectID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AgentConnect]
(
[AgentConnectID] [int] NOT NULL IDENTITY(1, 1),
[VendorConnectFID] [int] NOT NULL,
[MoversConnectConnectorFID] [int] NOT NULL,
[AgentConnectorName] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Inactive] [bit] NOT NULL CONSTRAINT [DF_AgentConnect_Inactive] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AgentConnect] ADD CONSTRAINT [PK_AgentConnect] PRIMARY KEY CLUSTERED  ([AgentConnectID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AgentConnect] ADD CONSTRAINT [IX_AgentConnect_AgentConnectorName] UNIQUE NONCLUSTERED  ([AgentConnectorName], [AgentConnectID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AgentConnect] ADD CONSTRAINT [IX_AgentConnect_MoversConnectConnectorFID] UNIQUE NONCLUSTERED  ([MoversConnectConnectorFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_AgentConnect_VendorConnect] ON [dbo].[AgentConnect] ([VendorConnectFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AgentConnect] ADD CONSTRAINT [FK_AgentConnect_VendorConnect] FOREIGN KEY ([VendorConnectFID]) REFERENCES [dbo].[VendorConnect] ([VendorConnectID])
GO
GRANT SELECT ON  [dbo].[AgentConnect] TO [MssExec]
GRANT INSERT ON  [dbo].[AgentConnect] TO [MssExec]
GRANT DELETE ON  [dbo].[AgentConnect] TO [MssExec]
GRANT UPDATE ON  [dbo].[AgentConnect] TO [MssExec]
GO
Uses
Used By