FromClause (MDStore Interface)

ms135439.note(zh-cn,SQL.90).gif注意:
  下一版本的 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.

ms135439.note(zh-cn,SQL.90).gif注意:
  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"

请参阅

参考

EstimatedRows (MDStore Interface)
MDStore Interface

帮助和信息

获取 SQL Server 2005 帮助