# Rename Table

Renames a MySQL table.


---

### ⬅️**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWOracleConnectionSettings`](/doc/paworacleconnectionsettings-iU7nVgLHWn) | ✅Yes     | Contains the Oracle database connection information. |
| `FromTableName` | `String` | ✅Yes     | Current name of the table to be renamed. |
| `ToTableName` | `String` | ✅Yes     | New name to be given to the table. |


---

### ➡️**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsRenameTableSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `RenameTableMessage` | `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**". |