Tables [dbo].[VendorConnect]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:30:39 PM Thursday, August 29, 2024
Last Modified7:32:49 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_VendorConnect: VendorConnectIDIndexes IX_VendorConnect_XmlSystemDataTypeMap: XmlSystemDataTypeMapFID\VendorConnectIDVendorConnectIDint4
No
1 - 1
Foreign Keys FK_VendorConnect_MoversConnectVendor: [dbo].[MoversConnectVendor].MoversConnectVendorFIDIndexes IX_VendorConnect_MoversConnectVendor: MoversConnectVendorFIDMoversConnectVendorFIDint4
No
Foreign Keys FK_VendorConnect_XmlSystemDataTypeMap: [dbo].[XmlSystemDataTypeMap].XmlSystemDataTypeMapFIDIndexes IX_VendorConnect_XmlSystemDataTypeMap: XmlSystemDataTypeMapFID\VendorConnectIDXmlSystemDataTypeMapFIDint4
No
IntegratorCommentsvarchar(128)128
Yes
Inactivebit1
No
((0))
IsAgentConnectbit1
No
((0))
EmailAddressesnvarchar(255)510
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_VendorConnect: VendorConnectIDPK_VendorConnectVendorConnectID
Yes
IX_VendorConnect_MoversConnectVendorMoversConnectVendorFID
Yes
IX_VendorConnect_XmlSystemDataTypeMapXmlSystemDataTypeMapFID, VendorConnectID
Yes
Check Constraints Check Constraints
NameConstraint
CK_VendorConnect_IsAgentConnect([dbo].[CheckIsAgentConnectConstraint]([MoversConnectVendorFID],[IsAgentConnect])=(1))
Foreign Keys Foreign Keys
NameColumns
FK_VendorConnect_MoversConnectVendorMoversConnectVendorFID->[dbo].[MoversConnectVendor].[MoversConnectVendorID]
FK_VendorConnect_XmlSystemDataTypeMapXmlSystemDataTypeMapFID->[dbo].[XmlSystemDataTypeMap].[XmlSystemDataTypeMapID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[VendorConnect]
(
[VendorConnectID] [int] NOT NULL IDENTITY(1, 1),
[MoversConnectVendorFID] [int] NOT NULL,
[XmlSystemDataTypeMapFID] [int] NOT NULL,
[IntegratorComments] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Inactive] [bit] NOT NULL CONSTRAINT [DF_VendorConnect_Inactive] DEFAULT ((0)),
[IsAgentConnect] [bit] NOT NULL CONSTRAINT [DF_VendorConnect_IsAgentConnect] DEFAULT ((0)),
[EmailAddresses] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VendorConnect] ADD CONSTRAINT [CK_VendorConnect_IsAgentConnect] CHECK (([dbo].[CheckIsAgentConnectConstraint]([MoversConnectVendorFID],[IsAgentConnect])=(1)))
GO
ALTER TABLE [dbo].[VendorConnect] ADD CONSTRAINT [PK_VendorConnect] PRIMARY KEY CLUSTERED  ([VendorConnectID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VendorConnect] ADD CONSTRAINT [IX_VendorConnect_MoversConnectVendor] UNIQUE NONCLUSTERED  ([MoversConnectVendorFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VendorConnect] ADD CONSTRAINT [IX_VendorConnect_XmlSystemDataTypeMap] UNIQUE NONCLUSTERED  ([XmlSystemDataTypeMapFID], [VendorConnectID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VendorConnect] ADD CONSTRAINT [FK_VendorConnect_MoversConnectVendor] FOREIGN KEY ([MoversConnectVendorFID]) REFERENCES [dbo].[MoversConnectVendor] ([MoversConnectVendorID])
GO
ALTER TABLE [dbo].[VendorConnect] ADD CONSTRAINT [FK_VendorConnect_XmlSystemDataTypeMap] FOREIGN KEY ([XmlSystemDataTypeMapFID]) REFERENCES [dbo].[XmlSystemDataTypeMap] ([XmlSystemDataTypeMapID])
GO
GRANT SELECT ON  [dbo].[VendorConnect] TO [MssExec]
GRANT INSERT ON  [dbo].[VendorConnect] TO [MssExec]
GRANT DELETE ON  [dbo].[VendorConnect] TO [MssExec]
GRANT UPDATE ON  [dbo].[VendorConnect] TO [MssExec]
GO
Uses
Used By