Compartir a través de


FromClause (MDStore Interface)

[!NOTA]

  Esta característica se quitará en la versión siguiente de Microsoft SQL Server. No utilice esta característica en nuevos trabajos de desarrollo y modifique lo antes posible las aplicaciones que actualmente la utilizan.

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

Notas

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

[!NOTA]

  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.

Ejemplo

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