Create an Initialization Block
Create an initialization block specifically for the type of variable that you want to create.
For a global or session variable, its initialization block contains the variable definition and the initialization query that supplies the variable with its value. For a static variable, its initialization block contains the variable definition, including the variable's default value. A static variable's initialization block doesn't contain an initialization query.
For information about how to define an initialization block for a specific type of variable, see Create a Global Variable, Create a Session Variable, or Create a Static Variable.
- On your home page, click Navigator
and then click Semantic
Models. - In the Semantic Models page, click a semantic model to open it.
- Click Variables
. - Click Create
and then click Create Initialization
Block. - In Create Initialization Block, go to Name and enter an initialization block name.
- Go to the Type field and select the type of variable that you want to create. Click OK.