# Get Table Column Names

Retrieves the column names from the named table in the MySql database.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWMySqlConnectionSettings`](/doc/pawmysqlconnectionsettings-0XkbFaKW6q) | ✅Yes     | Contains the MySql database connection information. |
| `TableName` | `String` | ✅Yes     | Name of the table to retrieve the columns from. |


---

### :arrow_right:**OUTPUT**

| **Name** | **Data Type** | **Description** |
|------|-----------|-------------|
| `IsGetTableColumnNamesSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `GetTableColumnNamesMessage` | `String`  | Returns the error information received if the operation fails. |
| `GetTableColumnNamesResult` | `DataTable` | Collection data produced as a result of the operation. |


---

### :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**". |