SourceTableFilter (MDStore Interface)

注意注意

  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

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

注释

The SQL statement can contain multiple conditions, for example:

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

  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.