# How to Set Database Specific Initialization Options

In certain configurations it may be necessary to run specific SQL statements or set database specific options each time a connection to a database is established.

## Oracle

The configuration file “Oracle.xml” contains parameters that control connections made to Oracle. The following configuration directives are supported:

* InitSQL — specify a line of SQL that will be run each time a new connection to Oracle is established. There is no limit to the number of InitSQL elements.

The following Oracle.xml file will cause CopyStorm to run the command:

* `alter session set ‘_optimizer_rownum_pred_based_fkr’=FALSE`

Oracle.xml:

```
<Oracle>
    <InitSQL sql="alter session set &quot;_optimizer_rownum_pred_based_fkr&quot;=FALSE" />
</Oracle>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.capstorm.com/reference/configuration-files/how-to-set-database-specific-initialization-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
