Export (0) Print
Expand All
Expand Minimize

JoinClause (MDStore Interface)

NoteNote

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The JoinClause property of the MDStore interface contains the list of join conditions currently defined for an MDStore object.

Applies To: clsAggregation, clsCube (excluding virtual cubes), clsPartition

String

Read/write

The JoinClause property stores the list of join conditions for the data source in the format used to define an SQL INNER JOIN clause for the data source provider.

NoteNote

  You must separate the table and column names with the delimiters that are appropriate to the source database. You can use the CloseQuoteChar and OpenQuoteChar properties of the DataSource object to determine the correct quoting characters.

    ' Assume the existence of a clsCube object named dsoCube.
    dsoCube.JoinClause = """FactTable"".""CustomerId""=" & _
        """CustTable"".""CustomerId"" AND " & _
        """FactTable"".""ProductId""=""ProductTable"".""SKU"""

The previous code example sets the JoinClause property to the following string:

"FactTable"."CustomerId"="CustTable"."CustomerId" AND "FactTable"."ProductId"="ProductTable"."SKU"

Community Additions

ADD
Show:
© 2014 Microsoft