# Datatable To Oracle

Writes the data in a `DataTable` object to an Oracle table.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWOracleConnectionSettings`](/doc/paworacleconnectionsettings-iU7nVgLHWn) | ✅Yes     | Contains the Oracle database connection information. |
| `TableName` | `String` | ✅Yes     | Name of the table the data is to be saved to. |
| `Data`    | `DataTable` | ✅Yes     | Collection data to be saved to the database. |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `CollectionToOracleSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `CollectionToOracleMessage` | `String` | Returns the error information received if the operation fails. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |