Definition


CREATE   VIEW
  [mr].[Object_Attribute] AS
SELECT
  [Attribute_Id],
  [a].[Attribute_Type_Id],
  [att].[Enum_Key],
  [a].[Start_Version_Id],
  [a].[End_Version_Id],
  [a].[Text_Value] [Attribute_Value],
  [a].[Object_Id],
  [o].[Name] [Object_Name],
  [ot].[Enum_Key] [Object_Type]
FROM
  [dbo].[MR_Attribute] [a]
  INNER JOIN [dbo].[C_Attribute_Type] [att] ON [att].[Attribute_Type_Id] = [a].[Attribute_Type_Id]
  INNER JOIN [dbo].[MR_Object] [o] ON [o].[Object_Id] = [a].[Object_Id]
  INNER JOIN [dbo].[C_Object_Type] [ot] ON [ot].[Object_Type_Id] = [o].[Object_Type_Id]

Columns

#ColumnData TypeNullableSource
1Attribute_IdintNo
2Attribute_Type_IdintNo
3Enum_KeynvarcharNoC_Attribute_Type.Enum_Key
4Start_Version_IdintNoMR_Attribute.Start_Version_Id
5End_Version_IdintYesMR_Attribute.End_Version_Id
6Attribute_ValuenvarcharNoMR_Attribute.Text_Value
7Object_IdintNoMR_Attribute.Object_Id
8Object_NamenvarcharNoMR_Object.Name
9Object_TypenvarcharNoC_Object_Type.Enum_Key