Share via


SourceTableFilter (MDStore Interface)

Note

  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 SourceTableFilter property of the MDStore interface contains the WHERE clause of an SQL statement (without the WHERE keyword) used to determine which fact table records are to be included in the MDStore object.

Applies To:clsCube (excluding virtual cubes), clsPartition

Data Type

String

Access

Read/write

Remarks

The SQL statement can contain multiple conditions, for example:

"time_by_day"."the_year" = '1997' AND "product"."product_id" = 'soap' 

Note

  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.