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.

Analytic and calculation views can contain variables, that can be bound to specific attributes. When calling the<br />

view, you can send values for those variables. These variables can be used, for example, to filter the results.<br />

<strong>SAP</strong> <strong>HANA</strong> supports an extension to MDX whereby you can pass values for variables defined in views by adding a<br />

<strong>SAP</strong> Variables clause in your select statement. Here is the syntax for a Select statement:<br />

: [WITH ]<br />

SELECT [[,...]]<br />

FROM <br />

[WHERE <br />

<strong>SAP</strong> VARIABLES: [[,] …]]<br />

: [] <br />

: INCLUDING | EXCLUDING<br />

: = | > | >= | < |

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

Saved successfully!

Ooh no, something went wrong!