Freigeben über


FromClause (MDStore Interface)

HinweisHinweis

  Diese Funktion wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie so bald wie möglich das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The FromClause property of the MDStore interface contains a comma-separated list of the fact table and the dimension tables from which store data is obtained.

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

Data Type

String

Access

Read/write

Hinweise

The FromClause property contains the string used by the data source provider to construct an SQL FROM clause.

HinweisHinweis

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

Beispiel

    ' Assume the existence of a clsCube object, named dsoCube.
    dsoCube.FromClause = """tblFacts"", ""tblProduct"", ""tblCustomer"""

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

"tblFacts", "tblProduct", "tblCustomer"