InterviewSolution
| 1. |
Difference Between A Session And Repo Variable? |
|
Answer» Session variables are similar to dynamic repository variables in that they obtain their values from initialization blocks. Unlike dynamic repository variables, however, the initialization of session variables is not scheduled. When a USER begins a session, the Oracle BI Server creates new instances of session variables and initializes them. A repository variable has a single value at any point in time. Repository variables can be used instead of literals or constants in Expression Builder in the Administration Tool. The Oracle BI Server substitutes the value of the repository variable for the variable itself in the metadata. Unlike a repository variable, there are as many instances of a session variable as there are active sessions on the Oracle BI Server. Each INSTANCE of a session variable could be INITIALIZED to a different value. (or) Session variables can have different values for each user, repository variables have the same value for everyone. There are two TYPES of session variables:
Repository variables also have 2 subtypes:
Both System variables and dynamic repository variables get their values from initialization blocks that can contain SQL. Session variables are similar to dynamic repository variables in that they obtain their values from initialization blocks. Unlike dynamic repository variables, however, the initialization of session variables is not scheduled. When a user begins a session, the Oracle BI Server creates new instances of session variables and initializes them. A repository variable has a single value at any point in time. Repository variables can be used instead of literals or constants in Expression Builder in the Administration Tool. The Oracle BI Server substitutes the value of the repository variable for the variable itself in the metadata. Unlike a repository variable, there are as many instances of a session variable as there are active sessions on the Oracle BI Server. Each instance of a session variable could be initialized to a different value. (or) Session variables can have different values for each user, repository variables have the same value for everyone. There are two types of session variables: Repository variables also have 2 subtypes: Both System variables and dynamic repository variables get their values from initialization blocks that can contain SQL. |
|