次の方法で共有


SourceTableAlias (MDStore Interface)

ms132767.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

The SourceTableAlias property of the MDStore interface contains the alias of the source table for the cube or partition.

Applies To:clsCube, clsPartition

Data Type

String

Access

Read-write

解説

If the source table has no alias, the contents of this property are identical to those of the SourceTable property.

Examples

Setting the SourceTable and SourceTable Alias Properties

The following example shows how to set the SourceTable and SourceTableAlias properties:

' Assume that an MDStore object dsoCube exists
' If the FromClause property for the cube is:
' "customer, store, sales_fact_1997 AS Sales"
' Set the SourceTable property to the actual name of the table
dsoCube.SourceTable = "sales_fact_1997"
' And set the SourceTableAlias property to the name of the alias
dsoCube.SourceTableAlias = "Sales"

参照

関連項目

MDStore Interface

ヘルプおよび情報

SQL Server 2005 の参考資料の入手