> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# compileInvalidSqls(SqlPlus)

> Recompiles all invalid objects in a supplied schema. This operation will only run if invalid objects are found. Operation returns various outputs to i

Recompiles all invalid objects in a supplied schema. This operation will only run if invalid objects are found. Operation returns various outputs to indicate invalid object count (before and after) and number of objects recompiled.

This is only supported for Oracle Database.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Oracle Database User</td><td>`FDORA_USER`</td><td>Yes</td><td>The username that will be used to connect to the target Oracle Database.</td></tr><tr><td>Oracle Database Password</td><td>`FDORA_PASSWORD`</td><td>Yes</td><td>The password for Oracle Database User.</td></tr><tr><td>SQLPlus Path</td><td>`FDSQLPLUS_PATH`</td><td>No</td><td>Provide the sqlplus path (Required if sqlplus is not on PATH environment).( Ex: `/u01/install/APPS/apps/tech_st/10.1.2/bin/sqlplus`)</td></tr><tr><td>SQLPlus Source Script</td><td>`FDSQLPLUS_ENVIRONMENT_SCRIPT`</td><td>No</td><td>Source Script with full path.(Ex: `/u01/install/APPS/apps/apps_st/appl/oracle_config.env`)</td></tr><tr><td>Oracle Connect Identifier</td><td>`FDSQLPLUS_ORACLE_SID`</td><td>No</td><td>Used as the connect\_identifier in the SQL\*Plus command. This is placed after the @ in the command. [[https://docs.oracle.com/cd/B14117\_01/server.101/b12170/qstart.htm](https://docs.oracle.com/cd/B14117_01/server.101/b12170/qstart.htm)](https://docs.oracle.com/cd/B14117_01/server.101/b12170/qstart.htm)</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Schema Name(s)</td><td>`FDSQLPLUS_INP_SCHEMA_NAMES`</td><td>Yes</td><td>Comma separated list of schema where objects will be compiled.</td></tr><tr><td>User</td><td>`FDSQLPLUS_INP_ORA_USER`</td><td>No</td><td>The username that will be used to connect with. This input takes precedence over the target scoped `FDORA_USER`property. This input is required if the `FDORA_USER`property is not specified.</td></tr><tr><td>Password</td><td>`FDSQLPLUS_INP_ORA_PASSWORD`</td><td>No</td><td>The password for `FDSQLPLUS_INP_ORA_PASSWORD`. This input takes precedence over the target scoped `FDORA_PASSWORD`** **property. This input is required if the `FDORA_PASSWORD`** **property is not specified.</td></tr></tbody></table>

# Outputs

<table><tbody><tr><th>**Output Name**</th><th>**Description**</th></tr><tr><td>`FDSQLPLUS_OUT_PRE_INVALID_OBJECTS_COUNT`</td><td>Invalid object count before execution.</td></tr><tr><td>`FDSQLPLUS_OUT_POST_INVALID_OBJECTS_COUNT`</td><td>Invalid object count after execution.</td></tr><tr><td>`FDSQLPLUS_OUT_POST_INVALID_OBJECT_NAMES`</td><td>Invalid object Names after execution</td></tr></tbody></table>

# Artifacts

This operation does not produce or consume artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will randomly execute on one of the endpoint identified during selection.
