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.