Connection Scripts contains the information of sql queries accepted by database to run the query according to the connection.
You can create connection scripts and set them to be run before the connection is established, before a query is run, after a query is run, or after the connection is disconnected.
You can create a connection script that, on connect, inserts the name of the user and the connection time into a table.
Execution of Query in connection pool has 4 ways,
1. Execute on connect
2. Execute before query
3. Execute after query
4. Execute on Disconnect
Connection Scripts in OBIEE |
Execute on connect
It Contains SQL queries that are executed before the connection is established.
Go to Connection pool and right click Γ Properties and the second tab is “Connection scripts”
Click new in the connection scripts to write the sql query for all the execution ways.
Connection Scripts in OBIEE |
Execute Before Query
It Contains SQL queries that are executed before the query is run.
Execute After Query
It Contains SQL queries that are executed after the query is run.
Execute On Disconnect
Contains SQL queries that are executed after the connection is closed
Comments
Post a Comment