28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Function Description<br />

Generate Applies a set to each member of another set, and then joins the resulting sets by<br />

union. Alternatively, this function returns a concatenated string created by<br />

evaluating a string expression over a set.<br />

Head Returns the first specified number of elements in a set.<br />

Hierarchize Orders the members of a specified set in a hierarchy in natural or, optionally, postnatural<br />

order.<br />

Hierarchy<br />

Instr The InStr function finds the starting location of a substring within a specified string.<br />

Intersect Returns the intersection of two sets, optionally retaining duplicates.<br />

IsAncestor Returns true if the first member specified is an ancestor of the second member<br />

specified, else returns false.<br />

IsGeneration Returns true if the member specified is a leaf, else returns false.<br />

IsLeaf Returns true if the first member specified is an ancestor of the second member<br />

specified, else returns false.<br />

IsSibling Returns true if the first member specified is an sibling of the second member<br />

specified, else returns false.<br />

Item If an integer is specified, the Item function returns the tuple that is in the zerobased<br />

position specified by Index.<br />

IIF Returns one of values determined by a logical test.<br />

Lag Returns the member that is a specified number of positions prior to a specified<br />

member along the dimension of the member.<br />

LastChild Returns the last child of a specified member.<br />

LastPeriods Returns a set of members prior to and including a specified member.<br />

LastSibling Returns the last child of the parent of a specified member.<br />

Lead Returns the member that is a specified number of positions following a specified<br />

member along the dimension of the member.<br />

Leaves If a dimension name is specified, returns a set that contains the leaf members of<br />

the key attribute for the specified dimension.If a dimension name is not specified,<br />

the function returns a set that contains the leaf members of the entire cube.<br />

Left The Left function returns a string of a specified number of characters from the left<br />

side (beginning) of a specified string.<br />

Level Returns the level of a member.<br />

Levels Returns the level whose zero-based position in a dimension is specified by a<br />

numeric expression.<br />

Max Returns the maximum value of a numeric expression evaluated over a set.<br />

Member_caption Returns the caption of a member<br />

Members Returns the set of all members in a specified hierarchy.<br />

368<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Using Database Client Interfaces

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!