Export (0) Print
Expand All

NameToSet

SQL Server 2000

NameToSet

Returns a set containing a single member based on a string expression containing a member name.

Syntax

NameToSet(«Member Name»)

Remarks

If the member name specified in «Member Name» exists, a set containing that member is returned. Otherwise, the NameToSet function returns an empty set.

Example

The following function returns a set containing the [Quarter 1] member of the Time dimension:

NameToSet("[Time].[Quarter 1]")
Show:
© 2014 Microsoft