repo.Measure_union - V
type: V ( view ), modify_date: 2021-11-28 10:57:13
RepoObject_guid: A1622931-8D19-EC11-851E-A81E8446D5B0
Description
Measures should assigned twice to two different tables
-
original table
-
virtual table '_measures'
the guid and name of this table are defined in repo.RepoSchema - U
Columns
PK | Column Name | Data Type | NULL? | ID |
---|---|---|---|---|
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
Column Details
_
sql_modules_definition
repo.Measure_union - V script
/*
<<property_start>>Description
Measures should assigned twice to two different tables
* original table
* virtual table '_measures' +
the guid and name of this table are defined in xref:sqldb:repo.reposchema.adoc[]
<<property_end>>
*/
CREATE View repo.Measure_union
As
Select
Measure_guid
, RepoSchema_name
, Description
, Expression
, is_ssas
, measures_name
, measures_description
, measures_description_ja
, measures_displayFolder
, measures_expression
, measures_expression_ja
, measures_formatString
, measures_isHidden
, Measure_fullname2
, Measure_fullname
, RepoObject_fullname2
, RepoObject_guid
, RepoObject_name
From
repo.Measure
Union All
Select
Measure_guid
, RepoSchema_name
, Description
, Expression
, is_ssas
, measures_name
, measures_description
, measures_description_ja
, measures_displayFolder
, measures_expression
, measures_expression_ja
, measures_formatString
, measures_isHidden
, Measure_fullname2
, Measure_fullname
, RepoObject_fullname2
, RepoObject_guid = MeasuresRepoObjekt_guid
, RepoObject_name = MeasuresRepoObjekt_name
From
repo.Measure
sql