共用方式為


FromClause (MDStore Interface)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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

備註

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

[!附註]

  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.

範例

    ' 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"