Tables [dbo].[ICModelCustomProperties]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:56:02 AM Thursday, March 21, 2019
Last Modified1:11:42 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_ICModelCustomProperties: ModelCustomPropertyIDModelCustomPropertyIDint4
False
1 - 1
Foreign Keys FK_ICModelCustomProperties_ModelID_ICModels: [dbo].[ICModels].ModelIDModelIDint4
False
Foreign Keys FK_ICModelCustomProperties_ShAttributeID_ShAttributes: [dbo].[ShAttributes].ShAttributeIDShAttributeIDint4
False
IDValint4
True
TextValvarchar(1024)1024
True
Requiredbit1
False
((0))
CreatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_ICModelCustomProperties: ModelCustomPropertyIDPK_ICModelCustomPropertiesModelCustomPropertyID
True
80
NameColumns
FK_ICModelCustomProperties_ModelID_ICModelsModelID->[dbo].[ICModels].[ModelID]
FK_ICModelCustomProperties_ShAttributeID_ShAttributesShAttributeID->[dbo].[ShAttributes].[ShAttributeID]
CREATE TABLE [dbo].[ICModelCustomProperties]
(
[ModelCustomPropertyID] [int] NOT NULL IDENTITY(1, 1),
[ModelID] [int] NOT NULL,
[ShAttributeID] [int] NOT NULL,
[IDVal] [int] NULL,
[TextVal] [varchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Required] [bit] NOT NULL CONSTRAINT [DF_ICModelCustomProperties_Required] DEFAULT ((0)),
[CreatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_ICModelCustomProperties_CreateDate] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ICModelCustomProperties] ADD CONSTRAINT [PK_ICModelCustomProperties] PRIMARY KEY CLUSTERED  ([ModelCustomPropertyID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ICModelCustomProperties] ADD CONSTRAINT [FK_ICModelCustomProperties_ModelID_ICModels] FOREIGN KEY ([ModelID]) REFERENCES [dbo].[ICModels] ([ModelID])
GO
ALTER TABLE [dbo].[ICModelCustomProperties] ADD CONSTRAINT [FK_ICModelCustomProperties_ShAttributeID_ShAttributes] FOREIGN KEY ([ShAttributeID]) REFERENCES [dbo].[ShAttributes] ([ShAttributeID])
GO
  • [dbo].[v_ICModels_CustomProperties]
  • [dbo].[v_ICModels_CustomProperties2]